Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2009-06-04 | 71 | -433/+318 |
|\ | | | | | | | | | | | 6a746ccf1e957dba703e65372050a7bd4d6b117d) to branch 'net.randombit.botan.c++0x' (head f54bb7b391eb3b71f380a68ddd460debdc31545d) | ||||
| * | Use C++0x std::shared_ptr<> instead of TR1's | lloyd | 2009-04-01 | 17 | -82/+68 |
| | | |||||
| * | Replace the (deprecated) auto_ptr with unique_ptr. | lloyd | 2009-04-01 | 31 | -121/+129 |
| | | | | | | | | | | | | This was mostly a s/auto_ptr/unique_ptr/, except in the CVC code and one function in ECDSA, which relied on auto_ptr's move semantics (ugh) and had to be modified in various ways. | ||||
| * | A few experiments with auto keyword type inference. Looks like things will | lloyd | 2009-04-01 | 3 | -79/+68 |
| | | | | | | | | | | be much cleaner, though I am looking forward to the new for syntax which will simplify a lot of these uses further. | ||||
| * | Remove copy_if, now included in C++0x (also, it turns out, not being used | lloyd | 2009-04-01 | 1 | -16/+0 |
| | | | | | | | | in the source). | ||||
| * | Remove the mutex classes in favor of C++0x's std::mutex and std::lock_guard | lloyd | 2009-04-01 | 25 | -133/+51 |
| | | |||||
| * | Start a new branch for C++0x experimentation. | lloyd | 2009-04-01 | 1 | -2/+2 |
| | | | | | | | | | | With GCC, build as C++0x (set the binary name to my particular installed GCC 4.4 snapshot). | ||||
* | | Small cleanups in the Skein-512 source, and add support for the | lloyd | 2009-06-03 | 3 | -71/+67 |
| | | | | | | | | personalization option. | ||||
* | | Add an implementation of Skein-512 | lloyd | 2009-06-02 | 7 | -0/+26764 |
| | | |||||
* | | Many source files included bit_ops.h when what was really desired was | lloyd | 2009-05-13 | 25 | -25/+22 |
| | | | | | | | | | | rotate.h, or when it was not needed at all. Remove or change the includes as needed. | ||||
* | | One more s/engine.h/pk_engine.h/ | lloyd | 2009-05-13 | 1 | -1/+1 |
| | | |||||
* | | engine.h had copies of some declarations from pk_engine.h that had not | lloyd | 2009-05-13 | 8 | -50/+7 |
| | | | | | | | | | | | | 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 | ||||
* | | Allow for the shared library soname to stay fixed even when the version | lloyd | 2009-05-13 | 3 | -14/+12 |
| | | | | | | | | number increments, for stable releases that don't affect binary compat. | ||||
* | | Document adding a default param for AutoSeeded_RNG::reseed | lloyd | 2009-04-22 | 1 | -0/+1 |
| | | |||||
* | | Add XTS mode, from IEEE P1619 | lloyd | 2009-04-16 | 6 | -1/+818 |
| | | |||||
* | | Bump version to 0.8.3-pre | lloyd | 2009-04-16 | 3 | -2/+5 |
| | | |||||
* | | Make AutoSeeded_RNG::reseed's parameter default to 256 for compatability | lloyd | 2009-04-16 | 1 | -1/+1 |
| | | | | | | | | | | with the version in earlier releases. Rickard Bondesson pointed out that this was a problem on the mailing list. | ||||
* | | Place -lbotan before the other -l flags in the output of | lloyd | 2009-04-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | botan-config --libs - with shared objects it makes no difference, but with static libs this doesn't bring in the needed symbols correctly since only symbols needed by earlier objects on the command line are brought in. Reported by Thomas Moschny. | ||||
* | | Use S2 instead of x,y vars as temps for single iteration of psi | lloyd | 2009-04-10 | 1 | -4/+4 |
| | | |||||
* | | Update for 1.8.2 release 2009-04-071.8.2 | lloyd | 2009-04-08 | 2 | -2/+2 |
| | | |||||
* | | Include <algorithm> in secmem.h for std::swap | lloyd | 2009-04-08 | 1 | -0/+1 |
| | | |||||
* | | Fully expand the linear recurence phi - about twice as fast on my Core2 | lloyd | 2009-04-08 | 1 | -77/+80 |
| | | |||||
* | | Expand the first 12 iterations of phi, though more simplification is needed. | lloyd | 2009-04-07 | 1 | -2/+58 |
| | | |||||
* | | Add the GOST 34.11 hash function. Pretty slow, but functional. | lloyd | 2009-04-07 | 7 | -0/+309 |
| | | |||||
* | | Make the member variables of MDx_HashFunction private instead of protected - | lloyd | 2009-04-07 | 1 | -6/+5 |
| | | | | | | | | no subclass needs access to any of these variables. | ||||
* | | Avoid calling compress_n in MDx_HashFunction unless at least one block is | lloyd | 2009-04-07 | 1 | -1/+2 |
| | | | | | | | | going to be compressed - otherwise it's a noop. | ||||
* | | Remove some commented out code in MDx_HashFunction which was used during | lloyd | 2009-04-07 | 2 | -26/+0 |
| | | | | | | | | | | the changeover from single block hashing to having each hash support multiple sequential blocks of input. | ||||
* | | Clean up the GOST_2ROUND macro a bit. Put in do/while block so it is a | lloyd | 2009-04-07 | 2 | -9/+10 |
| | | | | | | | | statement (at least as far as the calling code is concerned) | ||||
* | | s/NYC/Vermont/ | lloyd | 2009-04-01 | 1 | -1/+1 |
|/ | |||||
* | Hide the declarations of the GOST sboxes inside the Param constructor since | lloyd | 2009-04-01 | 2 | -25/+26 |
| | | | | | that is the only code that needs to see them. Record the name in the Param object. | ||||
* | Add a set of test vectors for GOST 28147-89 using the CryptoPro params | lloyd | 2009-04-01 | 1 | -0/+32 |
| | | | | commonly used for the GOST 34.11 hash, generated by OpenSSL's GOST code. | ||||
* | Simplify the XTEA key schedule code - there really is no reason to | lloyd | 2009-03-31 | 1 | -29/+13 |
| | | | | | precompute the deltas when they are just a few additions; removing the additions from the encrypt/decrypt rounds seems enough to me. | ||||
* | Use the full name for the GOST test vectors | lloyd | 2009-03-31 | 1 | -1/+1 |
| | |||||
* | Support different GOST paramters in the lookup interface. | lloyd | 2009-03-31 | 1 | -1/+1 |
| | |||||
* | Add support for multiple Sbox parameter sets in the GOST 28147-89 ↵ | lloyd | 2009-03-31 | 2 | -17/+71 |
| | | | | | | | | implementation. In addition to the GOST 34.11 test parameters (used in Crypto++ among other things), the GOST 34.11 CryptoPro parameters (used in implementations of the GOST hash function) are now supported. | ||||
* | Add a new version of SCAN_Name::arg that returns a default value if the | lloyd | 2009-03-31 | 2 | -2/+17 |
| | | | | param isn't set. | ||||
* | Partially unroll the round structure, enough so that the subkey accesses | lloyd | 2009-03-31 | 2 | -36/+40 |
| | | | | | | | can be done directly, so there is no need to copy the key several times for the key schedule (since the GOST 'key schedule' is very simple and the access pattern can now be directly inserted into the code). Looks to be about 10% faster on my Core2, as well. | ||||
* | Thomas Moschny passed along a request from the Fedora packagers which came | lloyd | 2009-03-30 | 570 | -8019/+9153 |
| | | | | | | | | | | | | | | | 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). | ||||
* | Use Libs.private for listing dependencies in pkg-config, this leads to | lloyd | 2009-03-28 | 1 | -1/+2 |
| | | | | somewhat cleaner .so dependencies on ELF systems. Patch from Zack Weinberg. | ||||
* | No reason to include mdx_hash.h in MD2 since it derives directly from | lloyd | 2009-03-27 | 2 | -24/+24 |
| | | | | HashFunction; include hash.h instead | ||||
* | Compile fix: missing a comma | lloyd | 2009-03-27 | 1 | -1/+1 |
| | |||||
* | Check the return value of lseek in the mmap allocator | lloyd | 2009-03-27 | 1 | -1/+3 |
| | |||||
* | Use u32bit instead of int for loop counter in ctz | lloyd | 2009-03-27 | 1 | -1/+1 |
| | |||||
* | GOST was using a completely non-standard set of sboxes. Change it to use | lloyd | 2009-03-27 | 11 | -336/+218 |
| | | | | | | | | | | | | | | | GostR3411_94_TestParamSet, this is compatible with the implementations in Crypto++ and OpenSSL. This is not backwards compatible, though once the implementation supports multiple param sets (which is required, unfortunately, for compatability with various standards by CryptoCom, who have defined not one but at least 4 (!!!) different sboxes to use with GOST), I may offer Botan's previous sbox set as an option. Since adding the GOST hash function (34.11) and signing algorithm (34.10) are on the long term agenda (request by Rickard Bondesson, as the Russian authorities want to use their local standards for their DNSSEC use), I renamed the block cipher class (which had been just 'GOST') to GOST_28147_89 to minimize future name clashes. | ||||
* | Add back the public key filters, at the request of Andreas Podgurski on | lloyd | 2009-03-19 | 3 | -0/+204 |
| | | | | the mailing list. | ||||
* | Add LibraryInitializers to the examples, instead of relying on lazy init. | lloyd | 2009-03-17 | 39 | -10/+67 |
| | | | | Patch from David X Callaway. | ||||
* | Expand some acronyms and various grammatical fixes to the tutorial document, | lloyd | 2009-03-06 | 1 | -23/+24 |
| | | | | submitted by Charles Brockman in bug 41 | ||||
* | Fix misspelled words in algo_factory.{cpp,h}, from Charles Brockman in bug 40 | lloyd | 2009-03-02 | 2 | -12/+13 |
| | |||||
* | Update some doxygen comments. Contributed by Charles Brockman in bug #39 | lloyd | 2009-03-02 | 3 | -28/+28 |
| | |||||
* | merge of '4d21273f3094d6b2c2bc149c76383d54ce0a0006' | lloyd | 2009-02-11 | 2 | -56/+62 |
|\ | | | | | | | and 'b4c266ae827b5a19f0cc07dc9b55a95fd4915a1e' |