aboutsummaryrefslogtreecommitdiffstats
path: root/checks/cvc_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ECC private keys had two different constructors, one taking a grouplloyd2011-04-081-9/+9
| | | | | | | | | | | | | | | | and a random number generator, and the other taking a group and a preset private key value. The DL private keys instead have on constructor for this; if the x value is zero, then a new random key is created. For consistency, do this with ECC as well. ECDH actually didn't have one of these constructors, forcing you to either load from PKCS #8 or else use a random key. Rename EC_Domain_Params to EC_Group, with a typedef for compatability. More doc updates. Update mtn ignores for Sphinx output
* Remove inclusions of unused headers.lloyd2011-02-101-9/+10
| | | | Avoid using auto_ptr in the CVC headers.
* Update all uses of MemoryRegion::append to use either push_back or operator+=lloyd2010-09-151-4/+4
|
* Anywhere where we use MemoryRegion::begin to get access to the raw pointerlloyd2010-09-131-11/+11
| | | | | representation (rather than in an interator context), instead use &buf[0], which works for both MemoryRegion and std::vector
* Modify pubkey classes to take names instead of object pointers.lloyd2010-03-081-1/+0
| | | | | Remove use of look_pk from the source and examples, instead instantiate classes directly.
* Make CVC tests a bit more verboselloyd2010-03-021-8/+10
|
* Remove auto_ptr from ECC key typeslloyd2010-03-021-6/+6
|
* Remove a fairly useless member of EC_PublicKey that was only used forlloyd2010-03-021-4/+4
| | | | | | | 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.
* Kill get_EC_Dom_Pars_by_oidlloyd2010-03-011-9/+9
|
* Clean up EC_Domain_Paramslloyd2010-03-011-6/+6
|
* Consolidate the non-canonical epoch timers, like cpuid and Win32'slloyd2009-12-011-1/+1
| | | | | | | | | | | | | | QueryPerformanceCounter, into an entropy source hres_timer. Its results, if any, do not count as contributing entropy to the poll. Convert the other (monotonic/fixed epoch) timers to a single function get_nanoseconds_clock(), living in time.h, which statically chooses the 'best' timer type (clock_gettime, gettimeofday, std::clock, in that order depending on what is available). Add feature test macros for clock_gettime and gettimeofday. Remove the Timer class and timer.h. Remove the Timer& argument to the algorithm benchmark function.
* Split up util.h into 3 fileslloyd2009-09-171-1/+1
| | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h
* Remove include of enums.hlloyd2008-11-081-1/+0
|
* Point CVC tests against the right directorylloyd2008-10-141-36/+38
|
* Add test suite for card verifiable certificates (cert/cvc) from InSiTo ↵lloyd2008-10-141-0/+599
(tests by Falko Strenzke)