aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/cvc
Commit message (Collapse)AuthorAgeFilesLines
* Most files including <botan/time.h> actually just needed <chrono>lloyd2009-12-011-1/+1
| | | | Clean up implementation of calendar_value() a bit
* Remove system_time(), replace entirely with std::chrono.lloyd2009-12-013-88/+48
| | | | | | 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.
* Remove to_string, replacing with std::to_stringlloyd2009-11-181-34/+32
| | | | | Convert to_u32bit to use the new C++0x library func stoul instead of hand-written code.
* Remove TR1 hooks - can be assumed to exist under a C++0x compilerlloyd2009-11-131-2/+0
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-135-9/+4
|\ | | | | | | | | | | ac888e57b614c623590d79ab615353ad7c76ef68) to branch 'net.randombit.botan.c++0x' (head 9bf78ed7e2521a328f6db7acbc1cd81b07718230)
| * Cleanups - remove emails from source files, they should only live inlloyd2009-11-105-9/+4
| | | | | | | | credits.txt and thanks.txt. Remove some various bits of formatting weirdness.
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-0214-60/+62
|\ \ | |/ |/| | | | | | | 2773c2310e8c0a51975987a2dd6c5824c8d43882) to branch 'net.randombit.botan.c++0x' (head f13cf5d7e89706c882604299b508f356c20aae3a)
| * Attic-ize all of src/timer, except for time_t_to_tm and system_timelloyd2009-10-132-2/+2
| | | | | | | | (which will go later) which will live in the new time.h
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-171-43/+16
| |\ | | | | | | | | | | | | | | | b9ca6596a127964cb9795d22bc2a5642fab5de84) to branch 'net.randombit.botan.c++0x' (head 3c769a81bd357a14f8aca4502b67e8465cee0947)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-172-2/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | 92e05ab242e4b6998d685961c53700534a673bce) to branch 'net.randombit.botan.c++0x' (head 27ce37b971ec5cb1f80a9a95b13d5a951b96653b)
| * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-0813-58/+60
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 5cadcc57872bef55226579df57349fe09a93d1f5) to branch 'net.randombit.botan.c++0x' (head d1747f0394aa4442e5b32b9102b830e1a86f0e5a)
| | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-211-5/+13
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95eb8083f5884531e5ca0667388f8a6fb6d05c41) to branch 'net.randombit.botan.c++0x' (head 56e105e678540c8bcafa4d0198c19a9489fbf8d1)
| | * | | | Use C++0x std::shared_ptr<> instead of TR1'slloyd2009-04-019-22/+15
| | | | | |
| | * | | | Replace the (deprecated) auto_ptr with unique_ptr.lloyd2009-04-0110-38/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-291-2/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* | | | | The get_tm function was duplicated. Move single version to timer.{h,cpp}lloyd2009-09-171-43/+16
| |_|_|/ |/| | |
* | | | Split up util.h into 3 fileslloyd2009-09-172-2/+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
* | / Replace 'XXX' and other such notes with FIXME for easy greppinglloyd2009-07-223-6/+6
| |/ |/|
* | Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-5/+13
|/ | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-3019-172/+210
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Split the last parts of the 'core' modulelloyd2008-11-086-6/+6
| | | | Add some missing info.txts
* Remove two declared but not defined constructors of EAC_Signed_Objectlloyd2008-10-141-4/+1
|
* Remove spurious trailing ; after blockslloyd2008-10-131-1/+2
|
* Add InSiTo Doxygen comments for freestore.hlloyd2008-10-131-4/+40
|
* Doxygen comments for eac_asn_obj.h from latest InSiTolloyd2008-10-131-20/+132
|
* Doxygen comments and reformatting in CVC codelloyd2008-10-134-88/+95
|
* More Doxygen commentslloyd2008-10-133-68/+77
|
* Add Doxygen comments for missing paramslloyd2008-10-131-0/+4
|
* More Doxygen comments from InSiTolloyd2008-10-131-7/+43
|
* Add a new switch to configure.pl --with-tr1-implementation whichlloyd2008-10-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | accepts options 'boost' and 'system'. Now GF(p) math (and indirectly, ECDSA) will be enabled if --with-tr1=boost or --with-tr1=system is passed at build time to enable a shared_ptr implementation. Modules can now specify that they require TR1, in which case they will only be autoloaded if a TR1 implementation was set (they can choose which one to use by checking the feature macros from build.h) The gfpmath module was set to load only on request. That has changed to load automatically (but will only do so if a TR1 impl is set as described above). CVC has also been marked as requiring TR1. (ECDSA/ECDH are not, since they do not use tr1 shared_ptr directly) Update and cleanup help output. Do not print the list of modules in --help anymore (too long); you can still get the list (in an easier to parse format) --module-info. Reorganize the help text so the more useful options are described closer to the top. Fix the --with-endian and --with-unaligned-mem options: they were being accepted but ignored.
* Rename the TR1 choice macros to BOTAN_USE_STD_TR1 and BOTAN_USE_BOOST_TR1.lloyd2008-10-121-3/+5
| | | | | | | | If neither is defined when build.h is included, choose Boost. Reorganize build.h so it is easier to find things, in particular move all of the interesting toggles to the top of the file and all of the long lists of modules and feature test macros to the end.
* Move InSiTo's ECDSA tests into the main test suitelloyd2008-10-121-10/+0
|
* Move ECDSA_Signature into CVC module. It is not used by ECDSA directly now.lloyd2008-10-115-21/+181
| | | | Change several ECC functions to return const references instead of const values.
* Missing tr1 inclusion in freestore.hlloyd2008-10-111-0/+8
|
* Remove last use of freestore.h from gfpmath, move it to CVC code which stilllloyd2008-10-112-0/+38
| | | | uses it. Include tr1 header directly in gfp_element.h
* Add BOTAN_DLL macro to public class definitions that were missing it.lloyd2008-10-097-12/+12
|
* Fix copyright noticeslloyd2008-10-092-3/+5
|
* Replace uses of global_config with arguments to functionslloyd2008-10-082-10/+21
|
* More compilation fixes for CVC codelloyd2008-10-082-4/+12
|
* Fix further compilation errors. However some functionality is disabled sincelloyd2008-10-083-34/+64
| | | | ECDSA keys do not support the EAC serialization mechanism yet.
* Many improvements towards getting the CVC implementation from InSiTolloyd2008-10-0816-662/+1446
| | | | | compiling against mainline. Add several missing classes extracted from other files inside InSiTo. Add dependency note for ecdsa and asn1
* Add Card Verifiable Certificates from InSiTo (does not built due to missing ↵lloyd2008-10-0814-0/+1409
parts, not included in build by default)