Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix stupid typo | lloyd | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Pass the args to SIMD_32 variant of rotate_left/rotate_right as const | lloyd | 2010-03-03 | 1 | -6/+6 |
| | | | | | reference. Otherwise Visual C++ dies because apparently the Win32 ABI doesn't know how to pass a __m128i as a function parameter. :/ | ||||
* | Only disable VC++ warning C4275 with DLL builds | lloyd | 2010-03-03 | 1 | -2/+2 |
| | |||||
* | Document fix for VC static builds | lloyd | 2010-03-03 | 1 | -0/+1 |
| | |||||
* | Unused variable warning in catch statement | lloyd | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Unused variable warning in catch statement | lloyd | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Fix VC++ static lib builds | lloyd | 2010-03-03 | 1 | -0/+4 |
| | |||||
* | Reduce deps slightly in selftest code | lloyd | 2010-03-03 | 1 | -4/+17 |
| | |||||
* | Fix Windows distclean target | lloyd | 2010-03-03 | 1 | -1/+3 |
| | |||||
* | Disable VC warning 4275 | lloyd | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Remove BOTAN_DLL from templates, VC++ doesn't like it | lloyd | 2010-03-03 | 2 | -2/+2 |
| | |||||
* | Reorganize where some CVC code goes to avoid template bloat + VC problems | lloyd | 2010-03-03 | 7 | -95/+66 |
| | |||||
* | Minor cleanups in Salsa20 code | lloyd | 2010-03-03 | 2 | -42/+9 |
| | |||||
* | Avoid warnings under VC++ in ECC tests | lloyd | 2010-03-03 | 2 | -2/+2 |
| | |||||
* | Use static_cast if using std::time-based get_nanoseconds_clock to make | lloyd | 2010-03-03 | 1 | -2/+6 |
| | | | | | | it obvious that truncation is occuring. Something to deal with in 2038 I guess, though get_nanoseconds_clock is already an unknown/unspecified epoch (since the Windows timer uses 1/1/1601 as the epoch) | ||||
* | Use a macro to make Salsa20 code a bit more compact | lloyd | 2010-03-03 | 1 | -66/+26 |
| | |||||
* | Fix minor errors and warnings in the examples. Remove boost dependency from | lloyd | 2010-03-03 | 15 | -120/+78 |
| | | | | rng_test example. | ||||
* | Fix some -Wmissing-declarations warnings in the test code | lloyd | 2010-03-03 | 2 | -14/+11 |
| | |||||
* | Add XSalsa20 | lloyd | 2010-03-03 | 4 | -12/+191 |
| | |||||
* | Modify the ECDSA signature OIDs. Previously the ones using the BSI | lloyd | 2010-03-02 | 2 | -7/+9 |
| | | | | | | | | | | | scheme, which is supposed to use the IEEE 1363-style concatenation format, was identified with the X9.62 OIDs, which are documented to use the DER sequence format. Switch the BSI ones to use the OIDs allocated for this purpose by BSI, and add the X9.62 ECDSA/SHA-1 OID since that was missing. Correct an ECDSA test that assumed the cert was identified with the BSI OID, even though in fact the cert in question uses an X9.62-style format. | ||||
* | Make CVC tests a bit more verbose | lloyd | 2010-03-02 | 1 | -8/+10 |
| | |||||
* | CVC assumed sigs were DER encoded by default. Not true | lloyd | 2010-03-02 | 4 | -25/+7 |
| | |||||
* | Remove ECDSA_Signature encoding/decoding cruft | lloyd | 2010-03-02 | 3 | -83/+39 |
| | |||||
* | Cleanups, remove dead code | lloyd | 2010-03-02 | 8 | -96/+27 |
| | |||||
* | Port in the code for forming the EAC encoding of an ECDSA key, so now | lloyd | 2010-03-02 | 1 | -19/+47 |
| | | | | generating new CVC certs might actually work. | ||||
* | Lots of internal CVC cleanups | lloyd | 2010-03-02 | 13 | -192/+121 |
| | |||||
* | Remove some needless usages of auto_ptr in CVC | lloyd | 2010-03-02 | 7 | -22/+33 |
| | |||||
* | For PEM encoding ECC domain parameters I had been using the identifier | lloyd | 2010-03-02 | 2 | -60/+60 |
| | | | | | | | | "ECC DOMAIN PARAMETERS", because I couldn't find any other library that offered PEM encoding to be compatible with so I just picked something. Turns out OpenSSL does have PEM encoding of EC params (openssl ecparam), and uses "EC PARAMETERS". As good as anything else, and allows interop, so change to use that. | ||||
* | Make two variants of OS2ECP, one taking pointer + length, and other | lloyd | 2010-03-02 | 3 | -16/+20 |
| | | | | | (inlined) taking a MemoryRegion& that just forwards. This makes it possible to avoid an extra copy in ECDH::derive_key. | ||||
* | Drop the old 1.8 configure.pl entirely | lloyd | 2010-03-02 | 1 | -2340/+0 |
| | |||||
* | Use a single dir for all boost.python objects | lloyd | 2010-03-02 | 2 | -5/+5 |
| | |||||
* | Corrupt signature instead of key in RSA example | lloyd | 2010-03-02 | 1 | -1/+4 |
| | |||||
* | Make output more understandable | lloyd | 2010-03-02 | 1 | -2/+4 |
| | |||||
* | Fix python_pbkdf2 for new signature. | lloyd | 2010-03-02 | 1 | -3/+19 |
| | | | | Add python KDF2 call, patch from Thomas Capricelli | ||||
* | Add GOST 34.10 benchmarks. Kill of last bits of ECKAEG terminology. | lloyd | 2010-03-02 | 4 | -24/+92 |
| | |||||
* | Small cleanups | lloyd | 2010-03-02 | 4 | -23/+21 |
| | |||||
* | Line wrap | lloyd | 2010-03-02 | 1 | -6/+12 |
| | |||||
* | Inline some simple PointGFp functions | lloyd | 2010-03-02 | 2 | -51/+35 |
| | |||||
* | Rename PointGFp::get_jac_proj_{x,y,z} simply get_{x,y,z} | lloyd | 2010-03-02 | 2 | -35/+35 |
| | |||||
* | Add some simple constructors to the EC_ base key types to simplify | lloyd | 2010-03-02 | 8 | -106/+78 |
| | | | | the various implementations | ||||
* | Remove extraneous include | lloyd | 2010-03-02 | 1 | -4/+0 |
| | |||||
* | Rename ECKAEG to ECDH. As far as I can tell they are the same algorithm, | lloyd | 2010-03-02 | 7 | -86/+89 |
| | | | | | I'm not sure where the old name came from though as literally the only hits for it on Google are botan-related. | ||||
* | Kill ECKAEG_Op | lloyd | 2010-03-02 | 12 | -301/+32 |
| | |||||
* | Remove ECDSA_Op and its attendant bits | lloyd | 2010-03-02 | 11 | -347/+45 |
| | |||||
* | Remove auto_ptr from ECC key types | lloyd | 2010-03-02 | 13 | -594/+143 |
| | |||||
* | Remove a fairly useless member of EC_PublicKey that was only used for | lloyd | 2010-03-02 | 8 | -99/+8 |
| | | | | | | | handling ImplicitCA ECDSA keys in the CVC code. Currently dealt with in CVC by simply commenting out the calls - CVC is already pretty broken and I'd much rather have ECC sane and under control and CVC totally broken than ECC remaining in its current state. | ||||
* | Set PEM constructor (taking a string) to default to "". In this case, | lloyd | 2010-03-02 | 2 | -6/+12 |
| | | | | don't initialize. | ||||
* | Move all of the ECC domain parameter sets to policy.cpp, encoded as PEM, | lloyd | 2010-03-02 | 4 | -437/+308 |
| | | | | instead of weird custom format hard-coded in ec_dompar.cpp | ||||
* | Add EC domain contructor eating PEM. Set OID in OID constructor | lloyd | 2010-03-01 | 2 | -3/+17 |
| | |||||
* | Add EC_Domain_Params::PEM_encode | lloyd | 2010-03-01 | 3 | -31/+45 |
| |