aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/dl_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.
* Doxygenlloyd2010-06-211-0/+12
|
* Replace "@return a blah" and "@return the blah" with just "@return blah"lloyd2010-06-161-6/+6
|
* Move where pk_ops is included, remove rng.h from dl_algo.hlloyd2010-03-211-1/+0
|
* Remove more load hookslloyd2010-03-041-4/+0
|
* Kill pkcs8_decoderlloyd2010-03-042-37/+0
|
* Add similar decoding constructors to the private keyslloyd2010-03-042-0/+15
|
* Remove X509_Decoder. Fix GOST-34.10 DER constructor (was default to normal ECC)lloyd2010-03-042-35/+0
|
* Add a new constructor to each public key algorithm (only the publiclloyd2010-03-042-0/+16
| | | | | | | 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-32/+0
|
* Add a pkcs8_private_key similiar to x509_subject_public_keylloyd2010-03-042-1/+8
|
* Add a new function to public key x509_subject_public_key which returnslloyd2010-03-042-29/+4
| | | | | 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-8/+10
| | | | | returns the AlgorithmIdentifier representing this scheme (OID + domain params if any).
* Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-161-7/+0
|
* 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-1/+3
| | | | | | 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-302-26/+30
| | | | | | | | | | | | | | | 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).
* Another batch of InSiTo Doxygen commentslloyd2008-10-131-7/+60
|
* Rename pk dir to pubkey, avoids tab-completion collision with pk_padlloyd2008-10-013-0/+242