aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove odd DH use in ECDH testlloyd2010-03-041-4/+0
|
* Some botan exception throws are plain STL exceptionslloyd2010-03-041-7/+1
|
* The code in pk_codecs was actually entirely tied to the code inlloyd2010-03-0412-13/+7
| | | | | | pubkey; you literally could not compile any pubkey code without it. Move it up to the pubkey dir, it wasn't at all useful to have it in its own dir.
* Kill pkcs8_encoderlloyd2010-03-048-124/+4
|
* Add a pkcs8_private_key similiar to x509_subject_public_keylloyd2010-03-048-27/+49
|
* Add a new function to public key x509_subject_public_key which returnslloyd2010-03-0412-146/+36
| | | | | what x509_encoder()->key_bits() used to return. This is much simpler than using the explicit encoder objects. Remove X509_Encoder entirely.
* Add a new function to Public_Key, algorithm_identifier(), which justlloyd2010-03-048-23/+36
| | | | | returns the AlgorithmIdentifier representing this scheme (OID + domain params if any).
* Fix stupid typolloyd2010-03-031-1/+1
|
* Pass the args to SIMD_32 variant of rotate_left/rotate_right as constlloyd2010-03-031-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 buildslloyd2010-03-031-2/+2
|
* Document fix for VC static buildslloyd2010-03-031-0/+1
|
* Unused variable warning in catch statementlloyd2010-03-031-1/+1
|
* Unused variable warning in catch statementlloyd2010-03-031-1/+1
|
* Fix VC++ static lib buildslloyd2010-03-031-0/+4
|
* Reduce deps slightly in selftest codelloyd2010-03-031-4/+17
|
* Fix Windows distclean targetlloyd2010-03-031-1/+3
|
* Disable VC warning 4275lloyd2010-03-031-1/+1
|
* Remove BOTAN_DLL from templates, VC++ doesn't like itlloyd2010-03-032-2/+2
|
* Reorganize where some CVC code goes to avoid template bloat + VC problemslloyd2010-03-037-95/+66
|
* Minor cleanups in Salsa20 codelloyd2010-03-032-42/+9
|
* Avoid warnings under VC++ in ECC testslloyd2010-03-032-2/+2
|
* Use static_cast if using std::time-based get_nanoseconds_clock to makelloyd2010-03-031-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 compactlloyd2010-03-031-66/+26
|
* Fix minor errors and warnings in the examples. Remove boost dependency fromlloyd2010-03-0315-120/+78
| | | | rng_test example.
* Fix some -Wmissing-declarations warnings in the test codelloyd2010-03-032-14/+11
|
* Add XSalsa20lloyd2010-03-034-12/+191
|
* Modify the ECDSA signature OIDs. Previously the ones using the BSIlloyd2010-03-022-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 verboselloyd2010-03-021-8/+10
|
* CVC assumed sigs were DER encoded by default. Not truelloyd2010-03-024-25/+7
|
* Remove ECDSA_Signature encoding/decoding cruftlloyd2010-03-023-83/+39
|
* Cleanups, remove dead codelloyd2010-03-028-96/+27
|
* Port in the code for forming the EAC encoding of an ECDSA key, so nowlloyd2010-03-021-19/+47
| | | | generating new CVC certs might actually work.
* Lots of internal CVC cleanupslloyd2010-03-0213-192/+121
|
* Remove some needless usages of auto_ptr in CVClloyd2010-03-027-22/+33
|
* For PEM encoding ECC domain parameters I had been using the identifierlloyd2010-03-022-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 otherlloyd2010-03-023-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 entirelylloyd2010-03-021-2340/+0
|
* Use a single dir for all boost.python objectslloyd2010-03-022-5/+5
|
* Corrupt signature instead of key in RSA examplelloyd2010-03-021-1/+4
|
* Make output more understandablelloyd2010-03-021-2/+4
|
* Fix python_pbkdf2 for new signature.lloyd2010-03-021-3/+19
| | | | Add python KDF2 call, patch from Thomas Capricelli
* Add GOST 34.10 benchmarks. Kill of last bits of ECKAEG terminology.lloyd2010-03-024-24/+92
|
* Small cleanupslloyd2010-03-024-23/+21
|
* Line wraplloyd2010-03-021-6/+12
|
* Inline some simple PointGFp functionslloyd2010-03-022-51/+35
|
* Rename PointGFp::get_jac_proj_{x,y,z} simply get_{x,y,z}lloyd2010-03-022-35/+35
|
* Add some simple constructors to the EC_ base key types to simplifylloyd2010-03-028-106/+78
| | | | the various implementations
* Remove extraneous includelloyd2010-03-021-4/+0
|
* Rename ECKAEG to ECDH. As far as I can tell they are the same algorithm,lloyd2010-03-027-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_Oplloyd2010-03-0212-301/+32
|