aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove ECDSA_Op and its attendant bitslloyd2010-03-0211-347/+45
|
* Remove auto_ptr from ECC key typeslloyd2010-03-0213-594/+143
|
* Remove a fairly useless member of EC_PublicKey that was only used forlloyd2010-03-028-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,lloyd2010-03-022-6/+12
| | | | don't initialize.
* Move all of the ECC domain parameter sets to policy.cpp, encoded as PEM,lloyd2010-03-024-437/+308
| | | | instead of weird custom format hard-coded in ec_dompar.cpp
* Add EC domain contructor eating PEM. Set OID in OID constructorlloyd2010-03-012-3/+17
|
* Add EC_Domain_Params::PEM_encodelloyd2010-03-013-31/+45
|
* Kill get_EC_Dom_Pars_by_oidlloyd2010-03-019-90/+81
|
* Clean up EC_Domain_Paramslloyd2010-03-018-193/+153
|
* Allow creating uninitialized PointGFp and CurveGFpslloyd2010-03-012-0/+10
|
* Rename mult2_in_place just mult2 (double would be better but is a keyword...)lloyd2010-03-012-6/+6
|
* Clean up catch and returnlloyd2010-03-011-5/+1
|
* In get_pbkdf_prf, catch Algorithm_Not_Found and return nulllloyd2010-03-011-2/+10
|
* passhash9: Ensure that choose_pbkdf_prf returns a PRF if possiblelloyd2010-03-011-2/+8
|
* Add a simple cert validation examplelloyd2010-03-011-0/+35
|
* Simplify mult2_in_place slightlylloyd2010-02-251-7/+3
|
* Use a Modular_Reducer in ECDSA op for reductions mod the order of the grouplloyd2010-02-252-18/+9
|
* Move contents of gfpmath to numbertheory. Adjust dependencies.lloyd2010-02-2510-21/+4
|
* Delete gfp_element.h and remove the gfpmath testslloyd2010-02-255-781/+0
|
* Change create_random_point to use Modular_Reducerlloyd2010-02-251-11/+9
|
* Remove unneeded include of gfp_elementh.hlloyd2010-02-251-1/+0
|
* Hide MillerRabin_Test class (only used in numthry.cpp)lloyd2010-02-256-84/+84
| | | | | | Inline simple functions in Modular_Reducer Add Modular_Reducer::cube convenience function
* Cache the Modular_Reducer of p in CurveGFp; speedup of 3-4xlloyd2010-02-252-8/+11
|
* Remove another useless EC testlloyd2010-02-251-33/+0
|
* Remove a useless EC test (was testing mres)lloyd2010-02-251-34/+0
|
* Remove GFpElement from check_invariants, remove includelloyd2010-02-251-20/+15
|