Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fairly huge update that replaces the old secmem types with std::vector | lloyd | 2012-05-18 | 2 | -9/+9 |
| | | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed. | ||||
* | Convert the BER/DER coders to use size_t instead of u32bit for small | lloyd | 2011-02-09 | 1 | -2/+2 |
| | | | | integer values. Update callers. | ||||
* | Use size_t instead of u32bit in all of pubkey | lloyd | 2010-10-12 | 1 | -1/+1 |
| | |||||
* | Replace "@return a blah" and "@return the blah" with just "@return blah" | lloyd | 2010-06-16 | 1 | -4/+4 |
| | |||||
* | Move class decls together | lloyd | 2010-03-21 | 1 | -10/+10 |
| | |||||
* | Move where pk_ops is included, remove rng.h from dl_algo.h | lloyd | 2010-03-21 | 1 | -4/+1 |
| | |||||
* | Add a couple of new helper functions to BER_Decoder: | lloyd | 2010-03-19 | 1 | -6/+1 |
| | | | | | | | | | | decode_and_check takes an expected value; if the decoded value does not match, a Decoding_Error with a specified string is thrown. Useful for checking embedded version codes. decode_octet_string_bigint is for decoding INTEGER values that are stored as OCTET STRINGs. Totally obnoxious and useless, but common especially in the ECC standards. | ||||
* | Remove IF_Core | lloyd | 2010-03-05 | 7 | -245/+1 |
| | |||||
* | Add signature generation operation classes. Remove sign() from | lloyd | 2010-03-05 | 1 | -0/+5 |
| | | | | | | PK_Signing_Key, though for the moment the class remains because there are a few pieces of code that use it to detect if signatures are supported, or for passing to functions in look_pk | ||||
* | Cleanups | lloyd | 2010-03-04 | 1 | -5/+4 |
| | |||||
* | Remove IF_Scheme_PrivateKey::PKCS8_load_hook | lloyd | 2010-03-04 | 2 | -22/+8 |
| | |||||
* | New IF constructors, simplifies RSA/RW | lloyd | 2010-03-04 | 2 | -1/+42 |
| | |||||
* | Remove more load hooks | lloyd | 2010-03-04 | 2 | -9/+0 |
| | |||||
* | Kill pkcs8_decoder | lloyd | 2010-03-04 | 2 | -44/+0 |
| | |||||
* | Add similar decoding constructors to the private keys | lloyd | 2010-03-04 | 2 | -2/+30 |
| | |||||
* | Remove X509_Decoder. Fix GOST-34.10 DER constructor (was default to normal ECC) | lloyd | 2010-03-04 | 2 | -32/+0 |
| | |||||
* | Add a new constructor to each public key algorithm (only the public | lloyd | 2010-03-04 | 2 | -1/+17 |
| | | | | | | | 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. | ||||
* | The code in pk_codecs was actually entirely tied to the code in | lloyd | 2010-03-04 | 1 | -1/+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. | ||||
* | Kill pkcs8_encoder | lloyd | 2010-03-04 | 2 | -27/+0 |
| | |||||
* | Add a pkcs8_private_key similiar to x509_subject_public_key | lloyd | 2010-03-04 | 2 | -13/+20 |
| | |||||
* | Add a new function to public key x509_subject_public_key which returns | lloyd | 2010-03-04 | 2 | -29/+9 |
| | | | | | what x509_encoder()->key_bits() used to return. This is much simpler than using the explicit encoder objects. Remove X509_Encoder entirely. | ||||
* | Add a new function to Public_Key, algorithm_identifier(), which just | lloyd | 2010-03-04 | 2 | -4/+10 |
| | | | | | returns the AlgorithmIdentifier representing this scheme (OID + domain params if any). | ||||
* | Add missing BOTAN_DLL exports. | lloyd | 2009-12-16 | 1 | -1/+1 |
| | | | | Move most of the engine headers to internal | ||||
* | Full working amalgamation build, plus internal-only headers concept. | lloyd | 2009-12-16 | 2 | -11/+10 |
| | |||||
* | Remove the 'realname' attribute on all modules and cc/cpu/os info files. | lloyd | 2009-10-29 | 1 | -2/+0 |
| | | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that. | ||||
* | Add a script that reads the output of print_deps.py and rewrites | lloyd | 2009-07-15 | 1 | -6/+8 |
| | | | | | | the info.txt files with the right module dependencies. Apply it across the codebase. | ||||
* | engine.h had copies of some declarations from pk_engine.h that had not | lloyd | 2009-05-13 | 1 | -1/+1 |
| | | | | | | been removed when that portion of the code was split off. Remove the duplicated code from engine.h and update some code in pubkey that still relied on the declarations in engine.h instead of pk_engine.h | ||||
* | Thomas Moschny passed along a request from the Fedora packagers which came | lloyd | 2009-03-30 | 6 | -81/+93 |
| | | | | | | | | | | | | | | | 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 BOTAN_DLL macro to Default_IF_Op | lloyd | 2008-11-08 | 1 | -1/+1 |
| | |||||
* | Remove dependency on Default_Engine from pubkey code | lloyd | 2008-11-08 | 2 | -39/+24 |
| | |||||
* | Add Doxygen comments to if_algo.h (from InSiTo) | lloyd | 2008-10-13 | 1 | -7/+32 |
| | |||||
* | Make PBE base, IF_algo only load if needed by dependencies | lloyd | 2008-10-01 | 1 | -2/+1 |
| | |||||
* | Move last pieces of algorithm-specific code from general 'pubkey' module | lloyd | 2008-10-01 | 4 | -8/+120 |
| | | | | | into algorithm-specific directories. (Dependencies still remain on these in core/libstate, though). | ||||
* | Rename pk dir to pubkey, avoids tab-completion collision with pk_pad | lloyd | 2008-10-01 | 5 | -0/+418 |