Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | propagate from branch 'net.randombit.botan.1_8' (head ↵ | lloyd | 2009-10-13 | 247 | -2406/+7481 |
|\ | | | | | | | | | | | c5ae189464f6ef16e3ce73ea7c563412460d76a3) to branch 'net.randombit.botan' (head e2b95b6ad31c7539cf9ac0ebddb1d80bf63b5b21) | ||||
| * | Remove redundant function | lloyd | 2009-10-09 | 1 | -10/+3 |
| | | |||||
| * | Add PBKDF2 wrapper | lloyd | 2009-10-09 | 1 | -0/+17 |
| | | |||||
| * | Reasonably functional RSA support; keygen, import/export, encrypt/decrypt, ↵ | lloyd | 2009-10-09 | 5 | -156/+231 |
| | | | | | | | | sign/verify | ||||
| * | Fix python install target. Add CryptoBox wrapper plus an example | lloyd | 2009-10-09 | 2 | -1/+25 |
| | | |||||
| * | Use -Wno-write-strings in XS wrapper to avoid many warnings | lloyd | 2009-10-09 | 1 | -1/+1 |
| | | |||||
| * | Drop the SWIG wrappers; never worked. Move the XS wrappers to src/wrap/perl-xs | lloyd | 2009-10-09 | 15 | -0/+1869 |
| | | |||||
| * | Add more or less functional integration with Boost.Python. Use | lloyd | 2009-10-09 | 9 | -2/+732 |
| | | | | | | | | | | --use-boost-python to enable creating a second makefile, Makefile.python, which has targets for building and installing the Python module. | ||||
| * | Fix --enable-debug | lloyd | 2009-10-09 | 1 | -2/+3 |
| | | | | | | | | With GCC, only use -finline-functions if not a debug build | ||||
| * | Add support for GNU/Hurd | lloyd | 2009-10-07 | 3 | -0/+18 |
| | | |||||
| * | Remove a dead function | lloyd | 2009-10-07 | 1 | -9/+0 |
| | | |||||
| * | Remove includes of stdio.h | lloyd | 2009-10-07 | 3 | -6/+0 |
| | | |||||
| * | Oops, removed assert.h from gfp_element.cpp which uses assert :( | lloyd | 2009-10-07 | 1 | -0/+1 |
| | | |||||
| * | New parsing system for SCAN names | lloyd | 2009-10-07 | 2 | -39/+92 |
| | | |||||
| * | Run self tests at startup | lloyd | 2009-10-07 | 1 | -0/+4 |
| | | |||||
| * | Add 'Distributed under...' text to files missing it. Some format cleanups | lloyd | 2009-10-07 | 12 | -106/+106 |
| | | |||||
| * | Add cipher mode selftesting in selftest.cpp | lloyd | 2009-10-06 | 3 | -151/+198 |
| | | | | | | | | Convert hardcoded startup selftests to use the new selftest framework | ||||
| * | Fix mode name parsing | lloyd | 2009-10-06 | 1 | -1/+1 |
| | | |||||
| * | Refactor Default_Engine::get_cipher so bits can be called from selftest | lloyd | 2009-10-06 | 2 | -84/+104 |
| | | |||||
| * | Extensions to SCAN_Name for dealing with cipher mode names | lloyd | 2009-10-06 | 2 | -3/+62 |
| | | |||||
| * | In to_u32bit, ignore space characters in input | lloyd | 2009-10-06 | 1 | -0/+3 |
| | | |||||
| * | Add an implementation of threshold secret sharing from draft-mcgrew-tss-02 | lloyd | 2009-10-06 | 3 | -0/+328 |
| | | |||||
| * | Clean up cpuid calling | lloyd | 2009-10-06 | 1 | -32/+26 |
| | | |||||
| * | Disable prefetch in AES for now. Problem: with iterative modes like CBC, | lloyd | 2009-09-30 | 2 | -20/+0 |
| | | | | | | | | | | | | | | | | the prefetch is called for each block of input, and so a total of (4096+256)/64 = 68 prefetches are executed for each block. This reduces performance of iterative modes dramatically. I'm not sure what the right approach for dealing with this is. | ||||
| * | Add cpuid check for Intel AES | lloyd | 2009-09-30 | 1 | -1/+8 |
| | | |||||
| * | Add vendor ID for AMD | lloyd | 2009-09-29 | 1 | -1/+1 |
| | | |||||
| * | Significantly rework CPUID support. Add cache line detection | lloyd | 2009-09-29 | 2 | -87/+99 |
| | | |||||
| * | Use prefetching in AES. Nominally, this will help somewhat with preventing | lloyd | 2009-09-29 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | timing attacks, since once all the TE/SE tables are entirely in cache then timing attacks against it become somewhat harder. However for this to be a full defense it would be necessary to ensure the tables were entirely loaded into cache, which is not guaranteed by the normal SSE prefetch instructions. (Or prefetch instructions for other CPUs, AFAIK). Much more importantly, it provides a 10% speedup. | ||||
| * | Change the prefetching interface; move to PREFETCH namespace, and add a | lloyd | 2009-09-29 | 1 | -9/+25 |
| | | | | | | | | helper function for fetching both inputs and outputs of block ciphers. | ||||
| * | Add interface for general runtime self-testing of ciphers, hashes, etc | lloyd | 2009-09-29 | 2 | -8/+75 |
| | | |||||
| * | Remove add block from utils/info.txt | lloyd | 2009-09-29 | 1 | -27/+0 |
| | | |||||
| * | Remove add block from block/info.txt | lloyd | 2009-09-29 | 1 | -6/+0 |
| | | |||||
| * | Remove add blocks from hash function info.txt files | lloyd | 2009-09-29 | 21 | -146/+0 |
| | | |||||
| * | Remove add blocks from block cipher info files | lloyd | 2009-09-29 | 25 | -188/+0 |
| | | |||||
| * | Add some basic prefetching support (only supported with GNU C++ or things | lloyd | 2009-09-29 | 4 | -3/+44 |
| | | | | | | | | | | that claim to be by defining __GNUG__ (such as Intel C++)) in new utils header prefetch.h | ||||
| * | Add a new macro BOTAN_BUILD_COMPILER_IS_XXX to build.h | lloyd | 2009-09-29 | 14 | -0/+28 |
| | | |||||
| * | Use load_le instead of make_u32bit in Serpent x86 key schedule code | lloyd | 2009-09-29 | 1 | -1/+1 |
| | | |||||
| * | merge of '1efb42e84eca9e01edd7b7f1335af7011eab994c' | lloyd | 2009-09-25 | 4 | -0/+168 |
| |\ | | | | | | | | | | and 'bb55abb64b64ca63aeb361db40c6bc4692d4ce48' | ||||
| | * | Add runtime cpuid support. Check in the SSE2 engine that SSE2 is actually | lloyd | 2009-09-25 | 4 | -0/+168 |
| | | | | | | | | | | | | existing on the current CPU before returning an object. | ||||
| * | | Add BitBucket to basefilt.h | lloyd | 2009-09-24 | 1 | -0/+8 |
| | | | |||||
| * | | Add engine deps on the asm_xxx modules so the engines get loaded | lloyd | 2009-09-24 | 2 | -0/+8 |
| | | | |||||
| * | | Enable OpenSSL AES (fixed, I think). And add support for OpenSSL's RC5 | lloyd | 2009-09-24 | 1 | -1/+7 |
| | | | |||||
| * | | In the benchmark code, set a random key for the block and stream ciphers. | lloyd | 2009-09-23 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This, I think, was what was causing the OpenSSL AES code to crash (without a key being set, the rounds are unset and probably causes the code to loop out past the end of an array somewhere). Sadly, this also confirms that OpenSSL's AES is much faster than Botan's: AES-128: 115.032 [core] 152.994 [openssl] AES-192: 98.6724 [core] 130.087 [openssl] AES-256: 86.6348 [core] 113.608 [openssl] Definitely some improvement can be made there! :( | ||||
| * | | Remove unneeded headers | lloyd | 2009-09-21 | 1 | -2/+0 |
| | | | |||||
| * | | Update the implementation of Blue Midnight Wish to use the Round 2 tweaked | lloyd | 2009-09-21 | 2 | -90/+122 |
| | | | | | | | | | | | | version. | ||||
| * | | Indentation fix | lloyd | 2009-09-21 | 1 | -13/+12 |
| | | | |||||
| * | | propagate from branch 'net.randombit.botan.1_8' (head ↵ | lloyd | 2009-09-17 | 134 | -1733/+3572 |
| |\| | | | | | | | | | | | | | | | | 1f4729658b70a340064bc9a33c923a44ecab84d8) to branch 'net.randombit.botan' (head b9ca6596a127964cb9795d22bc2a5642fab5de84) | ||||
| | * | The get_tm function was duplicated. Move single version to timer.{h,cpp} | lloyd | 2009-09-17 | 5 | -65/+35 |
| | | | |||||
| | * | Split up util.h into 3 files | lloyd | 2009-09-17 | 28 | -40/+49 |
| | | | | | | | | | | | | | | | | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h | ||||
| | * | Move memory locking function decls to mlock.h | lloyd | 2009-09-17 | 6 | -26/+47 |
| | | | | | | | | | | | | Inline round_up and round_down |