aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Format, add names to params in headerlloyd2009-10-191-3/+7
|
* Add theoreticaly support for Clang/LLVM. Current Gentoo clang ebuild doesn'tlloyd2009-10-191-0/+46
| | | | seem to work with C++ at all so untested.
* Also enable x86 asm word_addlloyd2009-10-151-8/+0
|
* Enable x86-64 asm word_addlloyd2009-10-151-8/+0
|
* merge of '5cfca720d4ca8d1e8f6946c7d9b4a8a6943094d0'lloyd2009-10-1527-428/+445
|\ | | | | | | and '8cc9c08544c0f1f1dba7c7a8da51d1657b1c7df8'
| * Similiar treatment for OFB which is also just a plain stream cipherlloyd2009-10-147-100/+148
| |
| * Convert CTR_BE from a Filter to a StreamCipher. Must wrap in a ↵lloyd2009-10-1410-217/+224
| | | | | | | | | | | | StreamCipher_Filter to pass it directly to a Pipe now.
| * Cleanups/random changes in the stream cipher code:lloyd2009-10-1414-111/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove encrypt, decrypt - replace by cipher() and cipher1() Remove seek() - not well supported/tested, I want to redo with a new interface once CTR and OFB modes become stream ciphers. Rename resync to set_iv() Remove StreamCipher::IV_LENGTH and add StreamCipher::valid_iv_length() to allow multiple IV lengths (as for instance Turing allows, as would Salsa20 if XSalsa20 were supported).
* | Avoid using word_add() in gfp_element.cpp, actually more complex than necessary,lloyd2009-10-151-1/+3
|/ | | | and was tickling a bug in the asm versions because of the constant 0.
* Check for cipher_mode() being set; if it is, not an algo_factory algolloyd2009-10-131-0/+4
|
* propagate from branch 'net.randombit.botan.1_8' (head ↵lloyd2009-10-13247-2406/+7481
|\ | | | | | | | | | | c5ae189464f6ef16e3ce73ea7c563412460d76a3) to branch 'net.randombit.botan' (head e2b95b6ad31c7539cf9ac0ebddb1d80bf63b5b21)
| * Remove redundant functionlloyd2009-10-091-10/+3
| |
| * Add PBKDF2 wrapperlloyd2009-10-091-0/+17
| |
| * Reasonably functional RSA support; keygen, import/export, encrypt/decrypt, ↵lloyd2009-10-095-156/+231
| | | | | | | | sign/verify
| * Fix python install target. Add CryptoBox wrapper plus an examplelloyd2009-10-092-1/+25
| |
| * Use -Wno-write-strings in XS wrapper to avoid many warningslloyd2009-10-091-1/+1
| |
| * Drop the SWIG wrappers; never worked. Move the XS wrappers to src/wrap/perl-xslloyd2009-10-0915-0/+1869
| |
| * Add more or less functional integration with Boost.Python. Uselloyd2009-10-099-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-debuglloyd2009-10-091-2/+3
| | | | | | | | With GCC, only use -finline-functions if not a debug build
| * Add support for GNU/Hurdlloyd2009-10-073-0/+18
| |
| * Remove a dead functionlloyd2009-10-071-9/+0
| |
| * Remove includes of stdio.hlloyd2009-10-073-6/+0
| |
| * Oops, removed assert.h from gfp_element.cpp which uses assert :(lloyd2009-10-071-0/+1
| |
| * New parsing system for SCAN nameslloyd2009-10-072-39/+92
| |
| * Run self tests at startuplloyd2009-10-071-0/+4
| |
| * Add 'Distributed under...' text to files missing it. Some format cleanupslloyd2009-10-0712-106/+106
| |
| * Add cipher mode selftesting in selftest.cpplloyd2009-10-063-151/+198
| | | | | | | | Convert hardcoded startup selftests to use the new selftest framework
| * Fix mode name parsinglloyd2009-10-061-1/+1
| |
| * Refactor Default_Engine::get_cipher so bits can be called from selftestlloyd2009-10-062-84/+104
| |
| * Extensions to SCAN_Name for dealing with cipher mode nameslloyd2009-10-062-3/+62
| |
| * In to_u32bit, ignore space characters in inputlloyd2009-10-061-0/+3
| |
| * Add an implementation of threshold secret sharing from draft-mcgrew-tss-02lloyd2009-10-063-0/+328
| |
| * Clean up cpuid callinglloyd2009-10-061-32/+26
| |
| * Disable prefetch in AES for now. Problem: with iterative modes like CBC,lloyd2009-09-302-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 AESlloyd2009-09-301-1/+8
| |
| * Add vendor ID for AMDlloyd2009-09-291-1/+1
| |
| * Significantly rework CPUID support. Add cache line detectionlloyd2009-09-292-87/+99
| |
| * Use prefetching in AES. Nominally, this will help somewhat with preventinglloyd2009-09-291-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 alloyd2009-09-291-9/+25
| | | | | | | | helper function for fetching both inputs and outputs of block ciphers.
| * Add interface for general runtime self-testing of ciphers, hashes, etclloyd2009-09-292-8/+75
| |
| * Remove add block from utils/info.txtlloyd2009-09-291-27/+0
| |
| * Remove add block from block/info.txtlloyd2009-09-291-6/+0
| |
| * Remove add blocks from hash function info.txt fileslloyd2009-09-2921-146/+0
| |
| * Remove add blocks from block cipher info fileslloyd2009-09-2925-188/+0
| |
| * Add some basic prefetching support (only supported with GNU C++ or thingslloyd2009-09-294-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.hlloyd2009-09-2914-0/+28
| |
| * Use load_le instead of make_u32bit in Serpent x86 key schedule codelloyd2009-09-291-1/+1
| |
| * merge of '1efb42e84eca9e01edd7b7f1335af7011eab994c'lloyd2009-09-254-0/+168
| |\ | | | | | | | | | and 'bb55abb64b64ca63aeb361db40c6bc4692d4ce48'
| | * Add runtime cpuid support. Check in the SSE2 engine that SSE2 is actuallylloyd2009-09-254-0/+168
| | | | | | | | | | | | existing on the current CPU before returning an object.
| * | Add BitBucket to basefilt.hlloyd2009-09-241-0/+8
| | |