aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/if_algo
Commit message (Collapse)AuthorAgeFilesLines
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-182-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 smalllloyd2011-02-091-2/+2
| | | | integer values. Update callers.
* Use size_t instead of u32bit in all of pubkeylloyd2010-10-121-1/+1
|
* Replace "@return a blah" and "@return the blah" with just "@return blah"lloyd2010-06-161-4/+4
|
* Move class decls togetherlloyd2010-03-211-10/+10
|
* Move where pk_ops is included, remove rng.h from dl_algo.hlloyd2010-03-211-4/+1
|
* Add a couple of new helper functions to BER_Decoder:lloyd2010-03-191-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_Corelloyd2010-03-057-245/+1
|
* Add signature generation operation classes. Remove sign() fromlloyd2010-03-051-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
* Cleanupslloyd2010-03-041-5/+4
|
* Remove IF_Scheme_PrivateKey::PKCS8_load_hooklloyd2010-03-042-22/+8
|
* New IF constructors, simplifies RSA/RWlloyd2010-03-042-1/+42
|
* Remove more load hookslloyd2010-03-042-9/+0
|
* Kill pkcs8_decoderlloyd2010-03-042-44/+0
|
* Add similar decoding constructors to the private keyslloyd2010-03-042-2/+30
|
* Remove X509_Decoder. Fix GOST-34.10 DER constructor (was default to normal ECC)lloyd2010-03-042-32/+0
|
* Add a new constructor to each public key algorithm (only the publiclloyd2010-03-042-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 inlloyd2010-03-041-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_encoderlloyd2010-03-042-27/+0
|
* Add a pkcs8_private_key similiar to x509_subject_public_keylloyd2010-03-042-13/+20
|
* Add a new function to public key x509_subject_public_key which returnslloyd2010-03-042-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 justlloyd2010-03-042-4/+10
| | | | | returns the AlgorithmIdentifier representing this scheme (OID + domain params if any).
* Add missing BOTAN_DLL exports.lloyd2009-12-161-1/+1
| | | | Move most of the engine headers to internal
* Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-162-11/+10
|
* 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.
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-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 notlloyd2009-05-131-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 camelloyd2009-03-306-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_Oplloyd2008-11-081-1/+1
|
* Remove dependency on Default_Engine from pubkey codelloyd2008-11-082-39/+24
|
* Add Doxygen comments to if_algo.h (from InSiTo)lloyd2008-10-131-7/+32
|
* Make PBE base, IF_algo only load if needed by dependencieslloyd2008-10-011-2/+1
|
* Move last pieces of algorithm-specific code from general 'pubkey' modulelloyd2008-10-014-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_padlloyd2008-10-015-0/+418