aboutsummaryrefslogtreecommitdiffstats
path: root/src/pbe/pbes1/pbes1.h
Commit message (Collapse)AuthorAgeFilesLines
* Shuffle things around. Add NIST X.509 test to build.lloyd2014-01-011-69/+0
|
* Add missing includes, noticed by OS X's Clang 4.1lloyd2012-10-301-0/+1
|
* More Doxygen warning fixeslloyd2012-07-091-0/+3
|
* Add new PBKDF interface that takes a std::chrono::milliseconds andlloyd2012-05-311-13/+18
| | | | | | | | | | | | | | | | | | | | runs the KDF until at least that much time has passed, then returns the number of interations used. New parameter to the PKCS8 encryption routines which tells how long to run the PBKDF. Defaults to 200 milliseconds, which is short enough that it is unlikely to bother anyone but long enough to provide quite reasonable security against cracking attacks. On a Core i7-860, 200 ms with PBKDF2/SHA-1 runs about 180K to 220K iterations (compare with previous default of 10K). New PBE interface, remove new_params/set_key and require all inputs including the passphrase to be passed to the constructor. Drop the PGP S2K as it is pretty weird and not really useful outside of a full PGP implementation. Drop the deprecated PKCS8::encrypt_key and PKCS8::encode functions.
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-181-2/+2
| | | | | | 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-1/+1
| | | | integer values. Update callers.
* Use size_t in filterslloyd2010-10-121-1/+1
| | | | | This breaks API for anyone creating their own Filter types, but it had to happen eventually.
* Give all Filter objects a method for querying their namelloyd2010-06-281-0/+2
|
* More Doxygen commentslloyd2010-06-161-1/+6
|
* More Doxygen updates/fixeslloyd2010-06-151-2/+2
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-7/+9
| | | | | | | | | | | | | | | 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).
* Remove global state dependency from pbes1lloyd2008-11-111-4/+13
|
* Split the last parts of the 'core' modulelloyd2008-11-081-1/+1
| | | | Add some missing info.txts
* Modularize PBEs (password-based encryption schemes)lloyd2008-09-281-0/+42