aboutsummaryrefslogtreecommitdiffstats
path: root/src/kdf/kdf2
Commit message (Collapse)AuthorAgeFilesLines
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-182-4/+4
| | | | | | 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.
* Derive KDF from Algorithmlloyd2010-11-011-0/+3
|
* Add a simple update_be to BufferedComputation that takes an integerlloyd2010-10-121-3/+2
| | | | | and writes the bytes to the stream in big-endian order. Use it in KDF2, MGF1, and FPE.
* s/u32bit/size_t/ in kdflloyd2010-10-122-8/+8
|
* Update all uses of MemoryRegion::append to use either push_back or operator+=lloyd2010-09-151-1/+1
|
* More changes to avoid vector to pointer implicit conversionslloyd2010-09-141-1/+1
|
* Handle the case that container size() returns something other than u32bitlloyd2010-09-141-1/+1
|
* More Doxygen updates/fixeslloyd2010-06-151-2/+2
|
* Move the get_byte template to its own header, because many fileslloyd2010-02-021-1/+1
| | | | including loadstor.h actually just needed get_byte and nothing else.
* Un-internal loadstor.h (and its header deps, rotate.h andlloyd2009-12-211-1/+1
| | | | | | | | | | | | | | bswap.h); too many external apps rely on loadstor.h existing. Define 64-bit generic bswap in terms of 32-bit bswap, since it's not much slower if 32-bit is also generic, and much faster if it's not. This may be quite helpful on 32-bit x86 in particular. Change formulation of generic 32-bit bswap. It may be faster or slower depending on the CPU, especially the latency and throuput of rotate instructions, but should be faster on an ideally superscalar processor with rotate instructions (ie, what I expect future CPUs to look more like).
* Make many more headers internal-only.lloyd2009-12-161-1/+1
| | | | | | | | | | | | | 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.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-4/+4
| | | | | | 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-14/+18
| | | | | | | | | | | | | | | 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).
* Move the declaration of the HashFunction base class to a new header hash.hlloyd2008-11-081-1/+1
| | | | (from base.h)
* Move kdf/kdf_base to kdflloyd2008-10-261-1/+1
|
* Split kdf.h and kdf.cpp from core/ to kdf/kdf_baselloyd2008-10-081-0/+4
| | | | Update dependencies as needed.
* Remove warnings in KDF1, KDF2 copy constructorslloyd2008-09-301-1/+1
|
* Remove lookup/libstate dependency on Lion, KDF1, KDF2, EMSA[1-4]lloyd2008-09-302-14/+5
|
* Move KDF, EME, and EMSA base classes from pubkey to core to remove alloyd2008-09-291-1/+1
| | | | false dependency on BigInt in the KDF/padding code.
* Rename all modinfo.txt files to info.txt, since they are all (none) oflloyd2008-09-291-0/+0
| | | | | them modules now. In any case there is no distinction so info.txt seems better.
* Move all modules into src/ directorylloyd2008-09-283-0/+90