| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
to_string -> std::to_string
system_time -> std::chrono
|
|
|
|
| |
X509_Store
|
|
|
|
|
|
| |
Only remaining use of time.h/ctime is to convert from a time point to
a calendar value, which still requires C's gmtime. Hide it entirely in
time.cpp and return a calendar_point struct instead of a std::tm.
|
|\
| |
| |
| |
| |
| | |
b3515264af291b4785d3d296e2cc0e877ca7816a)
to branch 'net.randombit.botan.c++0x' (head 66ca78008f08bb5efc2eca52a3d4501f02ffd736)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QueryPerformanceCounter, into an entropy source hres_timer. Its
results, if any, do not count as contributing entropy to the poll.
Convert the other (monotonic/fixed epoch) timers to a single function
get_nanoseconds_clock(), living in time.h, which statically chooses
the 'best' timer type (clock_gettime, gettimeofday, std::clock, in
that order depending on what is available). Add feature test macros
for clock_gettime and gettimeofday.
Remove the Timer class and timer.h. Remove the Timer& argument to the
algorithm benchmark function.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ensure that things like this work:
linux -> rt
linux -> someotherlib
Previously this would cause one or the other library to be loaded (more or
less at random depending on how Python's hashing turns out) and not the other.
|
| |
| |
| |
| | |
that does not exist. This is mostly for my benefit.
|
| | |
|
|\|
| |
| |
| |
| |
| | |
ac4d8fecb28374d06094da3457aa1e23f77dfa52)
to branch 'net.randombit.botan.c++0x' (head 00f0eecf3374a14b6ab907bd235488f902608de4)
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
system before returning a new instance.
|
| |
| |
| |
| | |
Sort files in an attempt to help out the compression algorithm.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a custom install target to users can select specific things to enable
or disable.
Add api.pdf and tutorial.pdf, if they are available in the tree (otherwise skip)
Add the set of examples as part of the documentation package.
Require at least Windows 98 or 2000 since some code in the entropy
gathering routines requires functions (CryptGenRandom and Toolhelp32)
which are only available on these systems or later.
Set the VersionInfoVersion (viewable via the Properties menu on the setup .exe)
|
| |
| |
| |
| |
| | |
Only create the InnoSetup file on Windows. Only create pkg-config and
botan-config on non-Windows.
|
| |
| |
| |
| | |
written out by the local Python using Win32 line endings.
|
| |
| |
| |
| | |
to conver the line endings of text files (.txt, .h) to Win32's CRLF.
|
| | |
|
| | |
|
| |
| |
| |
| | |
in nmake, causes strange linker errors without any obvious cause.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
--disable-shared disables DLL options, and don't define _CONSOLE in the
library build.
|
| | |
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| | |
b431f4bc404f3ed4a5332b69100ff903fbbb1d6a)
to branch 'net.randombit.botan.c++0x' (head a5eb5edada5e025f7c85c096dc59a467cae4aba6)
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
that anyone needs either of these, but it appears like they may be useful
if you're doing unusual stuff like C++/CLI.
|
| |
| |
| |
| |
| |
| |
| | |
to cause random crashes during the test suite. With /MD they go away.
I don't know enough about Windows development to know what this means...
I'm sure it makes sense to somebody. Anyway, going with something that
appears to function.
|
| | |
|
| |
| |
| |
| | |
it out
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
huge (60+ Mb!); the DLL should be smaller due to link-time merging making
it viable to distribute binaries.
|
| |
| |
| |
| |
| |
| |
| | |
empty anyway.
For VC++ (only user) set BOTAN_DLL to dllimport by default (for apps), and then
redefine as dllexport when building the library.
|
| |
| |
| |
| | |
causes <botan/XXX> to be visible as expected.
|
| | |
|
| |
| |
| |
| | |
Untested, almost certainly doesn't work.
|
| | |
|
| |
| |
| |
| |
| | |
boils down to BigInt::swap, which uses the memvec swap). Checking with
g++ 4.5 -O3 shows it compiles down the same code as before.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(timing the test suite) there doesn't seem to be much of a difference either
way, but putting printfs in the implementations shows they are being used.
Since they pretty much can't possibly hurt (right?) and might well help a
lot in certain cases, it's worth including.
Todo: adding overloads to binary operators taking move operations might
be nice. Details in http://cpp-next.com/archive/2009/09/making-your-next-move/
|
|\ \
| |/
|/|
| |
| |
| | |
2f3665f775fafbdfa517ecdca7f872e35bd90277)
to branch 'net.randombit.botan.c++0x' (head 45169719ddd8977b1eb20637576bc855dbc867a0)
|
| |
| |
| |
| | |
there is no chance that C++0x support will be added to them at any point.
|
| |
| |
| |
| |
| | |
Convert to_u32bit to use the new C++0x library func stoul instead of
hand-written code.
|