aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the BOTAN_NO_ macroslloyd2007-09-132-69/+9
|
* Comment out the CBC-MAC test vectors since the algorithm has not beenlloyd2007-09-071-136/+136
| | | | implemented yet and warnings result when running the validation suite.
* Change copyright to 1999-2007lloyd2007-09-042-2/+2
|
* Add amd64 to list of Darwin/OS X platformslloyd2007-08-291-0/+1
|
* Check in some test vectors for plain FIPS 113 CBC-MAC using DES and AES-128lloyd2007-08-031-0/+137
|
* Typo (s/holdin/holding/)lloyd2007-08-011-6/+7
|
* merge of '7704b6e82a74605099a06fcd56190d4796d761df'lloyd2007-07-271-0/+4
|\ | | | | | | and 'b52ffb84f6e232e32db9f8090937c9def3a276d4'
| * propagate from branch 'net.randombit.botan.stable' (head ↵lloyd2007-07-272-2/+6
| |\ | | | | | | | | | | | | | | | b8139f65cc60ecf9c4b2e789474f81d97036f43e) to branch 'net.randombit.botan' (head 257e32039477e27e354f0cebf2f139fcd9f7400a)
| | * Use Botan:: prefixes to work around a bug in Visual Studio C++ 2003. Patchlloyd2007-07-271-2/+2
| | | | | | | | | | | | from Christophe Meessen on the development list.
| | * Document 1.6.3 changes1.6.3lloyd2007-07-232-2/+5
| | |
| | * applied changes from 4195f29bd5b52227e8c0786b4dfd1a71a53e2df5lloyd2007-07-172-12/+17
| | | | | | | | | | | | | | | | | | | | | through 1b3b93981f425fcc78d0d283136542ff58a8bb07 Cherrypick the change to fix the algorithm cache lookups made on mainline back to the stable tree.
| | * Bump to 1.6.3lloyd2007-07-171-1/+1
| | |
* | | Use Botan:: prefixes to work around a bug in Visual Studio C++ 2003. Patchlloyd2007-07-271-2/+2
|/ / | | | | | | from Christophe Meessen on the development list.
* | If counter overflows, truncate the output of KDF2. That effectivelylloyd2007-07-261-1/+1
| | | | | | | | | | limits the output to just a bit under 2^32 bytes, which is the maximum you can request anyway.
* | Add information for 1.7.1 release1.7.1lloyd2007-07-232-0/+9
| |
* | Avoid some C-style casts in the moduleslloyd2007-07-234-4/+4
| |
* | Avoid C-style casts (as detected by GCC's -Wold-style-cast) and instead use lloyd2007-07-2338-117/+147
| | | | | | | | static_cast or reinterpret_cast, as needed.
* | Use the get_clock/get_ticks code instead of calling std::clock directly. Allowslloyd2007-07-231-5/+6
| | | | | | | | (nominally) more accurate results.
* | Move the load/store operations to their own header, to allow assemblylloyd2007-07-233-167/+183
| | | | | | | | or other non-portable implementations as modules.
* | Use std::string::data() instead of std::string::c_str() in cases where welloyd2007-07-219-10/+10
| | | | | | | | | | just want access to the underlying data representation but don't care if the return value is NULL terminated or not.
* | Combine the Blowfish initial sbox contents into a single 1024 element array.lloyd2007-07-173-100/+92
| |
* | If an algorithm cache lookup fails, index the newly created prototype objectlloyd2007-07-172-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | under the name that the algorithm was originally requested by. This enables proper caching for algorithm names which deref_alias fails to fully dereference such as "HMAC(SHA-1)". The previous code had two major problems with names of that type, firstly that the cache was effectively bypassed due to all prototype objects in Algorithm_Cache_Impl being indexed by their canonical names rather than the alias that they were requested under, and that there existed a race condition where a prototype object might be deleted while in use in multithreaded code. The downside of this change is that using multiple names to refer to a single algorithm causes multiple prototype objects to be created, one for each name that is in use. However the memory overhead of this should be fairly minimal and given the severity of the race condition this seems like a worthwhile tradeoff. A more complete fix would be to fix deref_alias to properly derference all alias names. That fix would be complimentary with this change in that if deref_alias handled all names properly there would be a single prototype object and there would then be no additional memory overhead to the cache.
* | Add memory allocator to the todolloyd2007-06-121-0/+7
| |
* | We don't need to use locked memory in the X.509 distinguished name.lloyd2007-06-112-4/+4
| |
* | Remove unused include of blinding.hlloyd2007-06-111-1/+0
| |
* | Add a couple more aliases for Core 2lloyd2007-05-311-0/+3
| |
* | On an assignment or initialization split across lines, put the = at the endlloyd2007-05-312-6/+6
| | | | | | | | of the line rather than the start.
* | Update Yves' credits with the other changes he sent that are being mergedlloyd2007-05-311-1/+1
| | | | | | | | into mainline rather than stable.
* | propagate from branch 'net.randombit.botan.stable' (head ↵lloyd2007-05-312-1/+6
|\| | | | | | | | | | | e92fe807f749c526669303bd1530dd76a4d10a86) to branch 'net.randombit.botan' (head 04a56f961f413296df6637b77ec45aa444513cfc)
| * Update credits with Yves' information.lloyd2007-05-311-0/+5
| |
| * Typo: RFC 882 instead of 822. Reported by Yves Jerschow.lloyd2007-05-311-1/+1
| |
* | Use the word-loading operations in SHA-384/SHA-512 as welllloyd2007-05-311-5/+4
| |
* | Bump the version to 1.7.1 in configure; there has been enough that it shouldn'tlloyd2007-05-311-1/+1
| | | | | | | | be marked as 1.7.0 at least.
* | Write functions to handle loading and saving words a block at a time, taking ↵lloyd2007-05-3141-431/+449
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into account endian differences. The current code does not take advantage of the knowledge of which endianness we are running on; an optimization suggested by Yves Jerschow is to use (unsafe) casts to speed up the load/store operations. This turns out to provide large performance increases (30% or more) in some cases. Even without the unsafe casts, this version seems to average a few percent faster, probably because the longer loading loops have been partially or fully unrolled. This also makes the code implementing low-level algorithms like ciphers and hashes a bit more succint.
* | Enable DATA_ENCIPHERMENT in constraints for encryption keys.lloyd2007-05-181-1/+1
| |
* | Add QueryPerformanceCounter to the Win32 fast entropy poll, as it can'tlloyd2007-05-181-0/+4
| | | | | | | | hurt and might help. From Yves Jerschow.
* | Mark 32-bit SPARC as big-endian, since SPARC didn't offer little-endianlloyd2007-05-171-0/+2
| | | | | | | | support until SPARCv9.
* | Add a new preprocessor macro defining the endian-ness of the target CPU.lloyd2007-05-173-0/+14
| | | | | | | | | | | | Currently it is only set for x86 and x86-64 as they are two of the few architectures which are not bi-endian, and we're not doing any detection (nor is there any way for a user to override the selection yet).
* | Check in a change from Yves Jerschow optimizing the HMAC key schedule.lloyd2007-05-151-5/+11
| | | | | | | | | | Seems to be about 2-3 times faster in the case where the key is smaller than the hash's block size, which is almost always the case.
* | merge of '44833339942d8cc1c3cbfd7eef0dcebcafc9f8ab'lloyd2007-04-250-0/+0
|\ \ | | | | | | | | | and '70af033ad11d389159632ebcf9cae091bde8b544'
| * | Fix the mergelloyd2007-04-251-11/+1
| | |
* | | propagate from branch 'net.randombit.botan.stable' (head ↵lloyd2007-04-252-13/+6
|\ \ \ | |/ / |/| / | |/ | | | | 8a2b79c64a13d3f70b0211d4f985a678951a9663) to branch 'net.randombit.botan' (head 677686443a5bb53b03d147999947448a9dc2679a)
| * Check in a working fix for the mem_pool issues encountered by some Visuallloyd2007-04-252-13/+6
| | | | | | | | Studio users.
| * Revert the last change; it actually broke the memory allocators in alloyd2007-04-231-1/+1
| | | | | | | | fairly massive way.
| * Fixes for Visual C++ 2005; it wasn't picking up the needed conversionlloyd2007-04-231-2/+3
| | | | | | | | from a void* to a Memory_Block, so call the constructor explicitly.
* | propagate from branch 'net.randombit.botan.stable' (head ↵lloyd2007-04-013-2/+7
|\| | | | | | | | | | | 63c067b5454498ee48466101aedb54613615a983) to branch 'net.randombit.botan' (head 2444e9d08f77852cf2df58c34ca38145c2f416ba)
| * Need to include stdlib.h for exit() call, reported through the Debianlloyd2007-04-011-0/+1
| | | | | | | | folks (I think this was also required under QNX, actually).
| * Update changelog, readme and configure.pl for 1.6.21.6.2lloyd2007-03-243-2/+7
| |
| * Document the move to NYC.lloyd2007-03-081-1/+1
| |
* | Clean up the examples makefile a bit.1.7.0lloyd2007-03-131-9/+13
| |