aboutsummaryrefslogtreecommitdiffstats
path: root/checks/ecdsa.cpp
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-091-6/+6
|\ | | | | | | | | | | 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1) to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-021-8/+8
| |\ | | | | | | | | | | | | | | | fc86fc4842254088bf820ea6ebf05877aa63fb22) to branch 'net.randombit.botan.c++0x' (head 77565ff7252df7f8faad86d65075498b0adb93d8)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-02-251-17/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | c1db52e38b60afbc6549af5222d6e10b1b9730dd) to branch 'net.randombit.botan.c++0x' (head e56dfbfe6bffbd5b4e52b115549d885c5fd04586)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-211-17/+17
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 12382647ef0a28fcb11c824c77b670cc88a4f721) to branch 'net.randombit.botan.c++0x' (head b586a3286d2c4d547ad3add5af9df1455bf4b87b)
| | | * | Replace the (deprecated) auto_ptr with unique_ptr.lloyd2009-04-011-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was mostly a s/auto_ptr/unique_ptr/, except in the CVC code and one function in ECDSA, which relied on auto_ptr's move semantics (ugh) and had to be modified in various ways.
* | | | | Modify pubkey classes to take names instead of object pointers.lloyd2010-03-081-41/+48
| | | | | | | | | | | | | | | | | | | | | | | | | Remove use of look_pk from the source and examples, instead instantiate classes directly.
* | | | | Remove the sign() operation from the public key objects, totally replacedlloyd2010-03-051-110/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by using the ops. Add real ECDSA test vectors (two found in ANSI X9.62)
* | | | | Add a new constructor to each public key algorithm (only the publiclloyd2010-03-041-40/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keys so far, private keys not changed) that takes an AlgorithmIdentifier and a MemoryRegion<byte>&. This performs the X.509 decoding. It is not possible anymore to create uninitialized PK objects.
* | | | | Avoid warnings under VC++ in ECC testslloyd2010-03-031-1/+1
| | | | |
* | | | | Modify the ECDSA signature OIDs. Previously the ones using the BSIlloyd2010-03-021-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Remove auto_ptr from ECC key typeslloyd2010-03-021-2/+1
| | | |
* | | | Kill get_EC_Dom_Pars_by_oidlloyd2010-03-011-6/+7
|/ / /
* / / CurveGFp: Inline, deleting source file. Store only a,b,p aslloyd2010-02-251-2/+2
|/ / | | | | | | | | BigInts. Also reorder constructor args to p, a, b which seems more sensible to me.
* / Fix a test broken by the recent exception hierarchy changeslloyd2010-01-121-10/+2
|/
* Spellinglloyd2008-10-131-2/+2
|
* ECDSA test cleanup. Remove some old commented out code.lloyd2008-10-121-40/+41
|
* Cleanup ECDSA tests. Enable test_ec_sign testlloyd2008-10-121-23/+12
|
* Move InSiTo's ECDSA tests into the main test suitelloyd2008-10-121-0/+566