aboutsummaryrefslogtreecommitdiffstats
path: root/checks/cvc_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-11/+10
|\ | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-091-11/+10
| |\ | | | | | | | | | | | | | | | 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1) to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-021-24/+24
| | |\ | | | | | | | | | | | | | | | | | | | | fc86fc4842254088bf820ea6ebf05877aa63fb22) to branch 'net.randombit.botan.c++0x' (head 77565ff7252df7f8faad86d65075498b0adb93d8)
| | * | Remove system_time(), replace entirely with std::chrono.lloyd2009-12-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Only remaining use of time.h/ctime is to convert from a time point to a calendar value, which still requires C's gmtime. Hide it entirely in time.cpp and return a calendar_point struct instead of a std::tm.
| | * | Attic-ize all of src/timer, except for time_t_to_tm and system_timelloyd2009-10-131-1/+1
| | | | | | | | | | | | | | | | (which will go later) which will live in the new time.h
| | * | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-171-1/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 92e05ab242e4b6998d685961c53700534a673bce) to branch 'net.randombit.botan.c++0x' (head 27ce37b971ec5cb1f80a9a95b13d5a951b96653b)
| | * | | Replace the (deprecated) auto_ptr with unique_ptr.lloyd2009-04-011-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | 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)