Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename some dirs for shorter object files where configure will | lloyd | 2011-06-03 | 9 | -0/+0 |
| | | | | coalesce the dir and file name if identical. | ||||
* | More VC warning fixes | lloyd | 2011-02-09 | 1 | -1/+1 |
| | |||||
* | Cast to avoid VC warning | lloyd | 2010-11-29 | 1 | -1/+1 |
| | |||||
* | Derive KDF from Algorithm | lloyd | 2010-11-01 | 7 | -6/+26 |
| | |||||
* | Add new top-level algorithm which provides basic functionality: name | lloyd | 2010-11-01 | 1 | -1/+1 |
| | | | | | | | | query, clearing, and cloning. Applies to ciphers, hashes, MACs, and PBKDFs. May extend to KDFs later as well. A single combined hierarchy in particular will make the algo_factory much simpler. | ||||
* | Use output_length() instead of OUTPUT_LENGTH pseudo-property | lloyd | 2010-10-13 | 2 | -3/+3 |
| | |||||
* | Add a simple update_be to BufferedComputation that takes an integer | lloyd | 2010-10-12 | 2 | -6/+3 |
| | | | | | and writes the bytes to the stream in big-endian order. Use it in KDF2, MGF1, and FPE. | ||||
* | s/u32bit/size_t/ in kdf | lloyd | 2010-10-12 | 14 | -77/+77 |
| | |||||
* | Use BOTAN_ASSERT in various places | lloyd | 2010-09-26 | 1 | -3/+3 |
| | |||||
* | Update all uses of MemoryRegion::append to use either push_back or operator+= | lloyd | 2010-09-15 | 2 | -2/+3 |
| | |||||
* | More changes to avoid vector to pointer implicit conversions | lloyd | 2010-09-14 | 3 | -11/+12 |
| | |||||
* | Handle the case that container size() returns something other than u32bit | lloyd | 2010-09-14 | 2 | -2/+2 |
| | |||||
* | Remove more uses of vector to pointer implicit conversions | lloyd | 2010-09-13 | 1 | -1/+1 |
| | |||||
* | Anywhere where we use MemoryRegion::begin to get access to the raw pointer | lloyd | 2010-09-13 | 2 | -4/+4 |
| | | | | | representation (rather than in an interator context), instead use &buf[0], which works for both MemoryRegion and std::vector | ||||
* | Doxygen comments | lloyd | 2010-06-16 | 1 | -4/+42 |
| | |||||
* | More Doxygen updates/fixes | lloyd | 2010-06-15 | 7 | -16/+16 |
| | |||||
* | Add support for TLS 1.2 PRF | lloyd | 2010-04-17 | 2 | -22/+63 |
| | |||||
* | Move the get_byte template to its own header, because many files | lloyd | 2010-02-02 | 2 | -2/+2 |
| | | | | including loadstor.h actually just needed get_byte and nothing else. | ||||
* | Un-internal loadstor.h (and its header deps, rotate.h and | lloyd | 2009-12-21 | 3 | -3/+3 |
| | | | | | | | | | | | | | | 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. | lloyd | 2009-12-16 | 4 | -5/+5 |
| | | | | | | | | | | | | | 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. | lloyd | 2009-12-16 | 7 | -50/+0 |
| | |||||
* | Remove the 'realname' attribute on all modules and cc/cpu/os info files. | lloyd | 2009-10-29 | 7 | -14/+0 |
| | | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that. | ||||
* | Format, add names to params in header | lloyd | 2009-10-19 | 1 | -3/+7 |
| | |||||
* | Move some files around to break up dependencies between directories | lloyd | 2009-07-16 | 1 | -0/+4 |
| | |||||
* | Add a script that reads the output of print_deps.py and rewrites | lloyd | 2009-07-15 | 6 | -30/+29 |
| | | | | | | the info.txt files with the right module dependencies. Apply it across the codebase. | ||||
* | Add a script that analyzes the source and prints module dependencies. | lloyd | 2009-07-15 | 3 | -35/+35 |
| | | | | | | | | | Useful for tracking where the big balls of mud are. Fix dependencies in gost_3411 (depends on the gost block cipher), and the TLS PRF (depends on HMAC). Also hide TLS_PRF::P_hash in an anonymous namespace instead of making it a private static function. I don't think this will affect binary compat, since it was statically linked. | ||||
* | Add variable names to decls in kdf.h | lloyd | 2009-06-19 | 1 | -12/+20 |
| | |||||
* | Thomas Moschny passed along a request from the Fedora packagers which came | lloyd | 2009-03-30 | 14 | -134/+162 |
| | | | | | | | | | | | | | | | 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 BufferedComputation to new buf_comp.{h,cpp} | lloyd | 2008-11-08 | 2 | -0/+3 |
| | |||||
* | Move declaration of MessageAuthenticationCode base class to mac.h (from base.h) | lloyd | 2008-11-08 | 1 | -1/+1 |
| | |||||
* | Move the declaration of the HashFunction base class to a new header hash.h | lloyd | 2008-11-08 | 3 | -3/+3 |
| | | | | (from base.h) | ||||
* | TLS_PRF also depends on MD5 and SHA1, was not so marked | lloyd | 2008-10-26 | 1 | -0/+2 |
| | |||||
* | In KDF instead of lookup, instantiate fixed hashes (MD5, SHA-1) directly | lloyd | 2008-10-26 | 4 | -21/+24 |
| | |||||
* | Move kdf/kdf_base to kdf | lloyd | 2008-10-26 | 9 | -6/+6 |
| | |||||
* | Move s2k.{h,cpp} and S2K algos from core and kdf to new s2k/ dir | lloyd | 2008-10-26 | 9 | -355/+0 |
| | |||||
* | Add trailing H__ to some header guards. Line wrap long comment. | lloyd | 2008-10-13 | 1 | -2/+2 |
| | |||||
* | More Doxygen comments from InSiTo | lloyd | 2008-10-13 | 2 | -7/+16 |
| | |||||
* | Split kdf.h and kdf.cpp from core/ to kdf/kdf_base | lloyd | 2008-10-08 | 9 | -1/+148 |
| | | | | Update dependencies as needed. | ||||
* | Append _prf to sslv3, tlsv1, x932 module names | lloyd | 2008-10-08 | 9 | -0/+0 |
| | |||||
* | Move oids.h to oid_lookup. Allows for much smaller build by disabling asn1 | lloyd | 2008-10-01 | 1 | -0/+5 |
| | |||||
* | Remove warnings in KDF1, KDF2 copy constructors | lloyd | 2008-09-30 | 2 | -2/+2 |
| | |||||
* | Fix warning in PBKDF1 copy constructor | lloyd | 2008-09-30 | 1 | -1/+3 |
| | |||||
* | Remove lookup.h from X9.31 PRNG, X9.19 MAC, SSLv3 MAC, PBKDF1 | lloyd | 2008-09-30 | 2 | -13/+14 |
| | |||||
* | Remove lookup from Randpool, HMAC, CMAC, CBC-MAC, TLS-PRF, and PBKDF2 | lloyd | 2008-09-30 | 4 | -36/+63 |
| | |||||
* | Remove lookup/libstate dependency on Lion, KDF1, KDF2, EMSA[1-4] | lloyd | 2008-09-30 | 4 | -31/+14 |
| | |||||
* | Rewrite part of the module loading code in configure.pl, now dependencies | lloyd | 2008-09-30 | 1 | -1/+1 |
| | | | | | | seem to be handled correctly (er, at least mostly), and more importantly the asm MPI modules are detected and used correctly (at least on x86-64 and x86). | ||||
* | Move KDF, EME, and EMSA base classes from pubkey to core to remove a | lloyd | 2008-09-29 | 7 | -6/+8 |
| | | | | false dependency on BigInt in the KDF/padding code. | ||||
* | Rename all modinfo.txt files to info.txt, since they are all (none) of | lloyd | 2008-09-29 | 9 | -0/+0 |
| | | | | | them modules now. In any case there is no distinction so info.txt seems better. | ||||
* | Add deps, missing includes, etc | lloyd | 2008-09-29 | 1 | -1/+1 |
| | |||||
* | Modularize IF family PK algorithms (integer factorization; RSA and RW base | lloyd | 2008-09-28 | 1 | -0/+10 |
| | | | | | | class). Add many missing modinfo.txts that I had not checked in. Oops. |