Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consolidate the non-canonical epoch timers, like cpuid and Win32's | lloyd | 2009-12-01 | 46 | -457/+216 |
| | | | | | | | | | | | | | | 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. | ||||
* | Make sure the SIMD_32 implementation we're using actually works on the | lloyd | 2009-11-24 | 4 | -3/+7 |
| | | | | system before returning a new instance. | ||||
* | Convert line endings on examples. | lloyd | 2009-11-24 | 1 | -6/+5 |
| | | | | Sort files in an attempt to help out the compression algorithm. | ||||
* | Clean up the implementation of the line ending converter. | lloyd | 2009-11-24 | 1 | -12/+26 |
| | | | | | | | | | | | | | | | | 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) | ||||
* | Don't do line ending conversion on build.h since that was (presumably/usually) | lloyd | 2009-11-23 | 1 | -6/+9 |
| | | | | written out by the local Python using Win32 line endings. | ||||
* | Use a little Pascal script (hey, my first Pascal program!) in InnoSetup | lloyd | 2009-11-23 | 1 | -5/+21 |
| | | | | to conver the line endings of text files (.txt, .h) to Win32's CRLF. | ||||
* | Fix minor errors in InnoSetup script | lloyd | 2009-11-23 | 1 | -5/+5 |
| | |||||
* | Add User and Developer install targets to Win32 installer | lloyd | 2009-11-23 | 1 | -9/+22 |
| | |||||
* | Fix the Nmake file - turns out the LIB is a really bad name for a variable | lloyd | 2009-11-23 | 1 | -6/+6 |
| | | | | in nmake, causes strange linker errors without any obvious cause. | ||||
* | Remove extern decl of no longer used/included SHA-1 SSE2 function | lloyd | 2009-11-23 | 1 | -2/+0 |
| | |||||
* | Various fixes for Visual C++ per bug 63 - --enable-debug sets debug options, | lloyd | 2009-11-20 | 2 | -16/+17 |
| | | | | | --disable-shared disables DLL options, and don't define _CONSOLE in the library build. | ||||
* | Remove long #### blocks for readability | lloyd | 2009-11-20 | 2 | -48/+16 |
| | |||||
* | Add readme.txt, license.txt, and log.txt to the InnoSetup install | lloyd | 2009-11-20 | 1 | -0/+4 |
| | |||||
* | Include the dll.manifest and exports file in the installer; I'm not sure | lloyd | 2009-11-20 | 1 | -0/+2 |
| | | | | | that anyone needs either of these, but it appears like they may be useful if you're doing unusual stuff like C++/CLI. | ||||
* | Force /MD (threaded+DLL libc) with VC++. /MT is the default but seems | lloyd | 2009-11-20 | 1 | -0/+4 |
| | | | | | | | 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. | ||||
* | Fix windows install_root | lloyd | 2009-11-20 | 1 | -1/+1 |
| | |||||
* | Add missing dependency on timer | lloyd | 2009-11-20 | 1 | -0/+1 |
| | |||||
* | Create installer file as botan-VERSION.exe | lloyd | 2009-11-20 | 1 | -0/+1 |
| | |||||
* | Fix nmake's distclean and DLL inking. Add static lib to InnoSetup | lloyd | 2009-11-20 | 2 | -8/+9 |
| | |||||
* | Add missing BOTAN_DLL macros for algorithm_benchmark and SCAN_Name | lloyd | 2009-11-20 | 2 | -6/+6 |
| | |||||
* | Nmake makefile cleanups and DLL fixes | lloyd | 2009-11-20 | 1 | -34/+10 |
| | |||||
* | Switch from only-static with VC++ to only a DLL. The static library is | lloyd | 2009-11-19 | 3 | -14/+13 |
| | | | | | huge (60+ Mb!); the DLL should be smaller due to link-time merging making it viable to distribute binaries. | ||||
* | Most compilers had empty dll_*_flags; remove them since the default is | lloyd | 2009-11-19 | 15 | -40/+3 |
| | | | | | | | empty anyway. For VC++ (only user) set BOTAN_DLL to dllimport by default (for apps), and then redefine as dllexport when building the library. | ||||
* | Fix includes, and put into {app}\include\botan so -IC:\botan\include | lloyd | 2009-11-19 | 1 | -1/+1 |
| | | | | causes <botan/XXX> to be visible as expected. | ||||
* | Fix typos, set other fields in InnoSetup script | lloyd | 2009-11-19 | 1 | -3/+8 |
| | |||||
* | Add the first bits of support for packaging botan with InnoSetup. | lloyd | 2009-11-19 | 1 | -0/+17 |
| | | | | Untested, almost certainly doesn't work. | ||||
* | Remove unecessary quote characters in the cc info files (were required by | lloyd | 2009-11-19 | 15 | -107/+80 |
| | | | | | | | | | | | configure.pl, but configure.py's parser is smart enough to deal with them with or without quotes). Add support for shared library generation with IBM xlC (untested). Drop bcc - this was for the Borland's old compiler and almost certainly is not right for the current Embarcadero C++Builder. Support for that should be added (though I don't have access to this compiler personally). | ||||
* | Name arguments | lloyd | 2009-11-18 | 1 | -6/+12 |
| | |||||
* | Much cleaning up in ECDSA, though it's still rather a mess (and 50x slower | lloyd | 2009-11-18 | 7 | -166/+112 |
| | | | | than OpenSSL... that's a problem for another branch though). | ||||
* | Fix typo | lloyd | 2009-11-18 | 1 | -1/+1 |
| | |||||
* | Clean up BigInt doxygen comments | lloyd | 2009-11-18 | 1 | -471/+458 |
| | |||||
* | In ressol(), t is just an alias for s and is not modified, remove it | lloyd | 2009-11-17 | 1 | -3/+2 |
| | |||||
* | Remove obsolete comment | lloyd | 2009-11-17 | 1 | -15/+0 |
| | |||||
* | Move most code that relies heavily on Filters into src/filters. | lloyd | 2009-11-17 | 73 | -166/+29 |
| | | | | | | Remove support for (unused) modset settings. Move tss, fpe, cryptobox, and aont to new dir constructs | ||||
* | Small cleanups in the Turing code | lloyd | 2009-11-17 | 1 | -18/+20 |
| | |||||
* | Rename/remove some secmem member variables for better matching with STL | lloyd | 2009-11-17 | 37 | -107/+101 |
| | | | | | | | | containers (specifically vector). Rename is_empty to empty Remove has_items Rename create to resize | ||||
* | Remove some Doxygen comments | lloyd | 2009-11-17 | 1 | -8/+2 |
| | |||||
* | Instead of having two asm_macr.h files being switched in based on module | lloyd | 2009-11-14 | 12 | -16/+8 |
| | | | | build magic, name them asm_macr_ARCH.h. Change all including files accordingly. | ||||
* | Fix comment typo | lloyd | 2009-11-14 | 1 | -1/+1 |
| | |||||
* | Make factorization in FPE more even (was neglecting powers of 2 since | lloyd | 2009-11-14 | 2 | -7/+42 |
| | | | | | | 2 is not in the primes table). Also ensure that a >= b; this guarantees that log_a(b) is <= 1 and thus only 3 rounds (instead of 8 used before) is sufficient. | ||||
* | Fix FPE decryption; off by one in the round numbers | lloyd | 2009-11-13 | 1 | -2/+2 |
| | |||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-11-13 | 3 | -0/+205 |
|\ | | | | | | | | | | | 586495311cff277e7a24b4116c987b79036d94e6) to branch 'net.randombit.botan.fpe' (head c6e8324b12e509ac1303078d5e716f08c53acff5) | ||||
| * | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-11-06 | 3 | -0/+205 |
| |\ | | | | | | | | | | | | | | | | 0cb3295ee48403828c652064fbf72ddb6edbe13c) to branch 'net.randombit.botan.fpe' (head 954d50f368db4be7d98c5c32c474bc54ec5ea7f3) | ||||
| | * | Add format preserving encryption, design is FE1/FD1 from the paper | lloyd | 2009-11-05 | 3 | -0/+205 |
| | | | | | | | | | | | | | | | | | | Format-Preserving Encryption (http://eprint.iacr.org/2009/251). This doesn't implement the rank functions which are necessary for the actual format-preserving part, though that would be nice to add to the example. | ||||
* | | | Cleanups in the Square implementation | lloyd | 2009-11-11 | 1 | -30/+38 |
| | | | |||||
* | | | Remove some CPU specific workarounds for things GCC didn't know about, like | lloyd | 2009-11-11 | 1 | -9/+5 |
| | | | | | | | | | | | | the Alpha EV67 and MIPS R10000. | ||||
* | | | Rename the UltraSPARC submodels; remove UltraSPARC II since it is functionally | lloyd | 2009-11-11 | 1 | -6/+4 |
| | | | | | | | | | | | | the same as an UltraSPARC for optimization purposes. | ||||
* | | | Make em64t just an alias for amd64; add nocona as a submodel. Also add | lloyd | 2009-11-11 | 1 | -1/+3 |
| | | | | | | | | | | | | x64 as another arch alias since some people seem to use it. | ||||
* | | | Switch from -O2/-O for lib/check to -O3/-O2 with gcc | lloyd | 2009-11-11 | 1 | -2/+2 |
| | | | |||||
* | | | Double the speed of Skipjack on my Core2, mostly due to better inlining. | lloyd | 2009-11-11 | 2 | -82/+99 |
| | | |