aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
Commit message (Collapse)AuthorAgeFilesLines
* Wrap lines to 80 columnslloyd2008-10-281-2/+5
|
* Move rng.h from core to rnglloyd2008-10-261-107/+0
|
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-263-157/+6
| | | | | | | | | | | | | | Add a new class AutoSeeded_RNG that is a RandomNumberGenerator that wraps up the logic formerly in RandomNumberGenerator::make_rng. make_rng in fact now just returns a new AutoSeeded_RNG object. AutoSeeded_RNG is a bit more convenient because - No need to use auto_ptr - No need to dereference (same syntax everywhere - it's an underestimated advantage imo) Also move the code from timer/timer_base to timer/
* Move kdf/kdf_base to kdflloyd2008-10-261-1/+0
|
* Move s2k.{h,cpp} and S2K algos from core and kdf to new s2k/ dirlloyd2008-10-263-152/+0
|
* Put pk_pad.{h,cpp} from core into pk_pad/ dir (cleaner I think)lloyd2008-10-263-108/+0
|
* Move libstate and selftest out of core/ dir to toplevellloyd2008-10-2626-4368/+0
|
* Add an OID to policy.cpp needed by the CVC codelloyd2008-10-141-0/+3
|
* RNG::reseed commentlloyd2008-10-131-1/+1
|
* Add some Doxygen comments from InSiTo written for config.h (now gone/split up)lloyd2008-10-131-8/+60
|
* Remove spurious trailing ; after blockslloyd2008-10-131-1/+1
|
* Add trailing H__ to some header guards. Line wrap long comment.lloyd2008-10-131-2/+2
|
* Add Doxygen comments for secmem.h from InSiTolloyd2008-10-131-19/+237
|
* Doxygen comments for lookup.h from InSiTolloyd2008-10-131-35/+184
|
* And add yet more InSiTo Doxygen comments (20 .h files to go...)lloyd2008-10-131-18/+87
|
* Doxygen comments for enums.hlloyd2008-10-131-6/+27
|
* Further Doxygen comments from InSiTolloyd2008-10-132-37/+298
|
* More Doxygen comments from InSiTolloyd2008-10-131-5/+57
|
* Add names to paramslloyd2008-10-131-5/+5
|
* More Doxygen comments from InSiTolloyd2008-10-131-7/+81
|
* More Doxygen comments from InSiTolloyd2008-10-131-9/+29
|
* Add name() virtual function in RandomNumberGenerator base class (had been ↵lloyd2008-10-121-0/+2
| | | | there, was lost)
* Fix ECDSA/SHA-160 OID entrylloyd2008-10-111-1/+1
|
* Add comment attributing source for ECDSA OIDlloyd2008-10-111-2/+2
|
* Add OIDs for ECDSA with SHA-2 from draft-ietf-pkix-sha2-dsa-ecdsa-04.txtlloyd2008-10-111-6/+17
|
* Add OIDs for ECDSA and ECDSA with EMSA1_BSI padding from InSiTolloyd2008-10-111-0/+7
|
* Move DESX into desx.h and desx.cpplloyd2008-10-081-0/+1
| | | | Clean up DES implementation internals.
* Add BSI variant of EMSA1, from InSiTolloyd2008-10-081-0/+12
|
* Add missing includelloyd2008-10-081-0/+1
|
* Avoid a memory leak if lookup of a component algorithm of Lion cannot belloyd2008-10-081-2/+9
| | | | found by using auto_ptr
* Split kdf.h and kdf.cpp from core/ to kdf/kdf_baselloyd2008-10-085-127/+7
| | | | Update dependencies as needed.
* Add SHA-224 from InSiTo, written and (C) by FlexSecure GmbHlloyd2008-10-081-2/+3
| | | | | Rename sha256.h and sha_64.h to sha2_32.h and sha2_64.h - this affects users who instantiate these classes directly.
* Fix problems with disabling ECDSAlloyd2008-10-082-0/+4
|
* Split ecdsa module into ecc_key, ecdsa, eckaeglloyd2008-10-082-1/+20
| | | | | Add actual implementations (from InSiTo) for ECDSA_Operation and ECKAEG_Operation.
* Revert part of revision b87599ffaee2d8ed2ec7597634413e73e4fb2fd8 thatlloyd2008-10-023-17/+11
| | | | | | | | added a new mandatory parameter of a Library_State& to get_cipher(). Do this so Monotone does not have to special case. Other lookup related functions like retrieve_<type> and add_algorithm() still require a Library_State& however.
* Reorg includeslloyd2008-10-011-3/+2
|
* Avoid unused parameter warning when ECDSA is enabled in buildlloyd2008-10-011-6/+6
|
* Add needed include of ec_dompar.hlloyd2008-10-011-0/+1
|
* Document dependencies between moduleslloyd2008-10-012-3/+4
|
* Move oids.h to oid_lookup. Allows for much smaller build by disabling asn1lloyd2008-10-014-2/+20
|
* Move get_pbe from libstate to new pbe_base module (in pbe/)lloyd2008-10-013-111/+0
|
* Move look_pk from libstate to pubkey/pubkey as more appropriatelloyd2008-10-013-114/+0
|
* Handle building Botan with almost all public key code disabled (though onlylloyd2008-10-013-7/+42
| | | | | | | with the aid of macro hackery, at the moment). Change DH feature macro to BOTAN_HAS_DIFFIE_HELLMAN Change NR feature macro to BOTAN_HAS_NYBERG_RUEPPEL
* Line wraplloyd2008-10-011-1/+1
|
* Move last pieces of algorithm-specific code from general 'pubkey' modulelloyd2008-10-011-2/+18
| | | | | into algorithm-specific directories. (Dependencies still remain on these in core/libstate, though).
* Split Diffie-Hellman off almost completely, such that nearly none oflloyd2008-10-017-86/+35
| | | | | | | | | | it builds if it is disabled. Current deficiency: due to #if defined(BLAH) in the engine code, Botan will not be binary compat across different configurations b/c the vtable will change size. Move some source from core/ to core/libstate where it belonged (engine stuff)
* Guard uses of ECDSA in the library with BOTAN_HAS_ECDSA macro, so it canlloyd2008-10-013-1/+13
| | | | | | | | be disabled. Disable gfpmath by default due to TR1 dependency (this will automatically turn of ECDSA/ECKAEG, unless gfpmath is explicitly loaded with --enable-module=gfpmath).
* propagate from branch 'net.randombit.botan' (head ↵lloyd2008-09-303-0/+75
| | | | | | 9524e848cdacd0b56ded9bd6b51fd34b6a7d3fc4) to branch 'net.randombit.botan.ecdsa' (head 8231f4285dce2d5ec754f7afa72e0d34807de061)
* Have RNG::make_rng throw an exception rather than return NULLlloyd2008-09-301-3/+5
|
* Use the lookup.h functions instead of calling this's find_hash, etc tolloyd2008-09-301-9/+16
| | | | | | | | get subcomponents of things like HMAC, CMAC, etc. This replicates the original behavior (since originally the class itself would call into lookup.h) Also guard use PBKDF1, PBKDF2, and Parallel hash with BOTAN_HAS macros