Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the now no-op classes PK_Encrypting_Key, | lloyd | 2010-03-08 | 5 | -47/+7 |
| | | | | | PK_Decrypting_Key, PK_Signing_Key, PK_Verifying_with_MR_Key, and PK_Verifying_wo_MR_Key. | ||||
* | Changes to CVC to deal with the fact that you can't create an uninitialized | lloyd | 2010-03-04 | 3 | -8/+10 |
| | | | | ECDSA_PublicKey object anymore. | ||||
* | The code in pk_codecs was actually entirely tied to the code in | lloyd | 2010-03-04 | 2 | -2/+0 |
| | | | | | | pubkey; you literally could not compile any pubkey code without it. Move it up to the pubkey dir, it wasn't at all useful to have it in its own dir. | ||||
* | Add a new function to Public_Key, algorithm_identifier(), which just | lloyd | 2010-03-04 | 1 | -7/+1 |
| | | | | | returns the AlgorithmIdentifier representing this scheme (OID + domain params if any). | ||||
* | Remove BOTAN_DLL from templates, VC++ doesn't like it | lloyd | 2010-03-03 | 2 | -2/+2 |
| | |||||
* | Reorganize where some CVC code goes to avoid template bloat + VC problems | lloyd | 2010-03-03 | 7 | -95/+66 |
| | |||||
* | CVC assumed sigs were DER encoded by default. Not true | lloyd | 2010-03-02 | 4 | -25/+7 |
| | |||||
* | Remove ECDSA_Signature encoding/decoding cruft | lloyd | 2010-03-02 | 3 | -83/+39 |
| | |||||
* | Cleanups, remove dead code | lloyd | 2010-03-02 | 8 | -96/+27 |
| | |||||
* | Port in the code for forming the EAC encoding of an ECDSA key, so now | lloyd | 2010-03-02 | 1 | -19/+47 |
| | | | | generating new CVC certs might actually work. | ||||
* | Lots of internal CVC cleanups | lloyd | 2010-03-02 | 13 | -192/+121 |
| | |||||
* | Remove some needless usages of auto_ptr in CVC | lloyd | 2010-03-02 | 7 | -22/+33 |
| | |||||
* | Remove a fairly useless member of EC_PublicKey that was only used for | lloyd | 2010-03-02 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | Clean up EC_Domain_Params | lloyd | 2010-03-01 | 1 | -3/+3 |
| | |||||
* | Small cleanups in CVC. Reduce use of assert. Remove UTF-8 chars | lloyd | 2010-02-24 | 5 | -28/+25 |
| | |||||
* | Remove TR1 dependency in CVC code | lloyd | 2010-02-24 | 12 | -111/+25 |
| | |||||
* | Remove global variable | lloyd | 2010-01-22 | 2 | -4/+2 |
| | |||||
* | Clean up exceptions. Remove some unused ones like Config_Error. Make | lloyd | 2010-01-05 | 1 | -1/+1 |
| | | | | | | | Invalid_Argument just a typedef for std::invalid_argument. Make Botan::Exception a typedef for std::runtime_error. Make Memory_Exhaustion a public exception, and use it in other places where memory allocations can fail. | ||||
* | Add copyright and license notes to pretty much every file that didn't have them, | lloyd | 2009-12-31 | 2 | -4/+4 |
| | | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good. | ||||
* | Replace time_t_to_tm with calendar_value which returns a struct representing | lloyd | 2009-12-24 | 1 | -6/+5 |
| | | | | the calendar time without tying to a particular format. From the C++0x branch. | ||||
* | Time was saved to a u32bit. Would really bite me in 2106 :) | lloyd | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | Avoid MSVC warning 4800 about implicit conversion from T to bool. Mostly | lloyd | 2009-12-23 | 1 | -1/+1 |
| | | | | because it makes the code slightly more explicit. | ||||
* | Add FIXME note to Certificate_Policies::encode_inner | lloyd | 2009-12-23 | 1 | -1/+4 |
| | |||||
* | Add missing BOTAN_DLL exports. | lloyd | 2009-12-16 | 2 | -1/+1 |
| | | | | Move most of the engine headers to internal | ||||
* | Make many more headers internal-only. | lloyd | 2009-12-16 | 6 | -49/+50 |
| | | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions. | ||||
* | Full working amalgamation build, plus internal-only headers concept. | lloyd | 2009-12-16 | 3 | -25/+32 |
| | |||||
* | Consolidate the non-canonical epoch timers, like cpuid and Win32's | lloyd | 2009-12-01 | 6 | -6/+6 |
| | | | | | | | | | | | | | | 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. | ||||
* | Much cleaning up in ECDSA, though it's still rather a mess (and 50x slower | lloyd | 2009-11-18 | 1 | -15/+3 |
| | | | | than OpenSSL... that's a problem for another branch though). | ||||
* | Cleanups - remove emails from source files, they should only live in | lloyd | 2009-11-10 | 5 | -9/+4 |
| | | | | credits.txt and thanks.txt. Remove some various bits of formatting weirdness. | ||||
* | In creating X.509 certificates and PKCS #10 requests, let (actually: require) | lloyd | 2009-11-09 | 4 | -31/+75 |
| | | | | | | | the user to specify the hash function to use, instead of always using SHA-1. This was a sensible default a few years ago, when there wasn't a ~2^60 attack on SHA-1 and support for SHA-2 was pretty much nil, but using something else makes a lot more sense these days. | ||||
* | Remove the 'realname' attribute on all modules and cc/cpu/os info files. | lloyd | 2009-10-29 | 2 | -4/+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} | lloyd | 2009-09-17 | 2 | -44/+16 |
| | |||||
* | Split up util.h into 3 files | lloyd | 2009-09-17 | 6 | -7/+6 |
| | | | | | | | - 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 grepping | lloyd | 2009-07-22 | 3 | -6/+6 |
| | |||||
* | Move some files around to break up dependencies between directories | lloyd | 2009-07-16 | 1 | -0/+1 |
| | |||||
* | Add a script that reads the output of print_deps.py and rewrites | lloyd | 2009-07-15 | 2 | -12/+26 |
| | | | | | | the info.txt files with the right module dependencies. Apply it across the codebase. | ||||
* | Move the contents of pubkey/pubkey (which was kind of a catch-all to | lloyd | 2009-07-15 | 1 | -1/+1 |
| | | | | | | | just toplevel pubkey). This was a convention I realized made sense sometime on when I was first doing the modularization changes. Move pkcs8.* and x509_key.* to pk_codecs | ||||
* | Thomas Moschny passed along a request from the Fedora packagers which came | lloyd | 2009-03-30 | 42 | -849/+933 |
| | | | | | | | | | | | | | | | 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). | ||||
* | Add Doxygen comment for Timer::clock. Fix @return in benchmark.h and x509_ca.h | lloyd | 2008-11-25 | 1 | -1/+1 |
| | |||||
* | Make X509_Store::CRL_Info public for IBM XLC 0.9 for Cell | lloyd | 2008-11-24 | 1 | -10/+14 |
| | |||||
* | Remove pk_lookup - half of it (look_pk.{cpp,h}) depended on libstate directly, | lloyd | 2008-11-11 | 1 | -1/+0 |
| | | | | | the other half was relied upon by pubkey. Move the contents into those two modules. Update deps. | ||||
* | Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpp | lloyd | 2008-11-11 | 2 | -4/+3 |
| | |||||
* | Split the last parts of the 'core' module | lloyd | 2008-11-08 | 9 | -9/+9 |
| | | | | Add some missing info.txts | ||||
* | Wrap lines to 80 columns | lloyd | 2008-10-28 | 1 | -2/+2 |
| | |||||
* | Remove two declared but not defined constructors of EAC_Signed_Object | lloyd | 2008-10-14 | 1 | -4/+1 |
| | |||||
* | Add some Doxygen comments from InSiTo written for config.h (now gone/split up) | lloyd | 2008-10-13 | 1 | -5/+9 |
| | |||||
* | Remove spurious trailing ; after blocks | lloyd | 2008-10-13 | 1 | -1/+2 |
| | |||||
* | Add InSiTo Doxygen comments for freestore.h | lloyd | 2008-10-13 | 1 | -4/+40 |
| | |||||
* | Doxygen comments for eac_asn_obj.h from latest InSiTo | lloyd | 2008-10-13 | 1 | -20/+132 |
| | |||||
* | Add Doxygen comments from InSiTo to x509self.h | lloyd | 2008-10-13 | 1 | -27/+148 |
| |