Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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). | ||||
* | Also treat + as a word char in shlex | lloyd | 2009-11-19 | 1 | -1/+1 |
| | |||||
* | 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 | 74 | -168/+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 | 39 | -111/+105 |
| | | | | | | | | 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 |
| | |||||
* | Get the old GTK+ example to build, though the pulse UI logic is no longer | lloyd | 2009-11-17 | 2 | -78/+89 |
| | | | | included. Threads are a smarter approach, in retrospect. | ||||
* | Ignore files that begin with '.', even if they end in .cpp, .h, or .S. | lloyd | 2009-11-14 | 1 | -2/+3 |
| | | | | Useful to avoid emacs droppings like '.#bswap.h' | ||||
* | 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. | ||||
* | Document adding FPE | lloyd | 2009-11-13 | 1 | -0/+1 |
| | |||||
* | Extend FPE example to encrypt credit card numbers with valid Luhn checksums | lloyd | 2009-11-13 | 1 | -8/+120 |
| | | | | onto other CCNs with valid checksums. | ||||
* | 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 | 4 | -0/+227 |
|\ | | | | | | | | | | | 586495311cff277e7a24b4116c987b79036d94e6) to branch 'net.randombit.botan.fpe' (head c6e8324b12e509ac1303078d5e716f08c53acff5) | ||||
| * | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-11-06 | 4 | -0/+227 |
| |\ | | | | | | | | | | | | | | | | 0cb3295ee48403828c652064fbf72ddb6edbe13c) to branch 'net.randombit.botan.fpe' (head 954d50f368db4be7d98c5c32c474bc54ec5ea7f3) | ||||
| | * | Add format preserving encryption, design is FE1/FD1 from the paper | lloyd | 2009-11-05 | 4 | -0/+227 |
| | | | | | | | | | | | | | | | | | | 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 | 3 | -82/+100 |
| | | | |||||
* | | | Inline all of the AES tables into an anon namespace in aes.cpp. Turns out | lloyd | 2009-11-11 | 3 | -411/+399 |
| | | | | | | | | | | | | to give a 3-7% speed improvement on Core2 with GCC. | ||||
* | | | Almost double the speed of MARS; from 55 MiB/s to 102 on my Core2. | lloyd | 2009-11-11 | 3 | -231/+216 |
| | | | |||||
* | | | Slightly cleaner SHA-256 F1 func; ~1% faster | lloyd | 2009-11-10 | 1 | -3/+3 |
| | | | |||||
* | | | Use memcpy for bulk loads if algorithm endianness matches CPU endianess. | lloyd | 2009-11-10 | 1 | -0/+9 |
| | | | |||||
* | | | Remove SSE4 dependency in AES-192 key schedule, and also avoid requiring | lloyd | 2009-11-10 | 2 | -26/+25 |
| | | | | | | | | | | | | an extra 4 words at the end of EK for writing (unused) values. | ||||
* | | | Add AES-192 using AES-NI. Tested OK with Intel's simulator. | lloyd | 2009-11-10 | 4 | -10/+277 |
| | | | | | | | | | | | | | | | | | | | | | Currently requires SSE4.1 for _mm_extract_epi32 for the key schedule, it would be nice to remove this dependency, though all currently known/scheduled chips with AES-NI (Intel Westmere and Sandy Bridge, and AMD Bulldozer) are supposed to include SSE 4.1 so this is not a huge problem. | ||||
* | | | Also #undef bool after including <altivec.h> | lloyd | 2009-11-10 | 1 | -0/+1 |
| | | | |||||
* | | | Clean up cpuid test prog | lloyd | 2009-11-10 | 1 | -11/+18 |
| | | | |||||
* | | | Rename CPUID::has_intel_aes to has_aes_intel, and add CPUID::has_aes_via, | lloyd | 2009-11-10 | 3 | -5/+17 |
| | | | | | | | | | | | | which is currently just a stub returning false. | ||||
* | | | Add unrolled versions of AES-NI code that will handle 4 blocks in parallel. | lloyd | 2009-11-10 | 1 | -12/+176 |
| | | | | | | | | | | | | | | | No noticable change under the simulator (no surprises there), but should help a lot with pipelining on real hardware. | ||||
* | | | Fix errors in the AES-256 key schedule for the AES-NI version. Now passes | lloyd | 2009-11-10 | 4 | -198/+171 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tests under Intel's emulator. Document and enable in the engine. Merge both versions to aes_intel.cpp - some shared code and much similiar structure which might be sharable via macros. | ||||
* | | | Add AES-256 using AES-NI | lloyd | 2009-11-10 | 3 | -3/+243 |
| | | | |||||
* | | | Make the AES implementation using Intel's AES instruction extension official; | lloyd | 2009-11-10 | 4 | -7/+9 |
| | | | | | | | | | | | | testing with Intel's emulator shows all green. | ||||
* | | | Split the AES vectors into 3 specifically named AES-128, AES-192, and | lloyd | 2009-11-10 | 1 | -1651/+1650 |
| | | | | | | | | | | | | | | | | | | AES-256 blocks, plus a handful remaining in a general AES block. This is necessary for any implementation which only supports a particular key size, since otherwise no tests at all will run on that implementation. | ||||
* | | | Add Nehalem/Westmere tags for ICC | lloyd | 2009-11-10 | 1 | -3/+7 |
| | | | |||||
* | | | Make set_all_values in {ECDSA,ECKAEG}_{Public,Private}Key all non-virtual; | lloyd | 2009-11-10 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | virtual-ness not needed, and was overriding/overloading by argument which doesn't actually work in C++ and only happened to work because it was only ever used with the version implemented in that same class. ICC was warning, too. Make non-virtual. | ||||
* | | | Cleanups - remove emails from source files, they should only live in | lloyd | 2009-11-10 | 19 | -62/+39 |
| | | | | | | | | | | | | credits.txt and thanks.txt. Remove some various bits of formatting weirdness. | ||||
* | | | Remove my email address from the copyright headers in the tss files, not | lloyd | 2009-11-10 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | included elsewhere and my preference is for the only emails to be in credits.txt since emails change more often than names and I'd prefer them not to be constantly either wrong or needing updates. | ||||
* | | | In creating X.509 certificates and PKCS #10 requests, let (actually: require) | lloyd | 2009-11-09 | 10 | -39/+91 |
|/ / | | | | | | | | | | | | | the user to specify the hash function to use, instead of always using SHA-1. This was a sensible default a few years ago, when there wasn't a ~2^60 attack on SHA-1 and support for SHA-2 was pretty much nil, but using something else makes a lot more sense these days. | ||||
* | | Clean up aes_128_key_expansion | lloyd | 2009-11-06 | 1 | -24/+18 |
| | | |||||
* | | Respect --with-isa when choosing what to enable | lloyd | 2009-11-06 | 1 | -3/+4 |
| | |