aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prefer GCC builtin except on ARM, add comment as to whylloyd2011-03-141-6/+11
|
* merge of '2813f52a3bcb78c23217d8f1805860bfac4a7d00'lloyd2011-03-141-1/+1
|\ | | | | | | and '9d5726451d97eeba0dc6cf1f38e95860bc63af32'
| * Shared lib should be marked as a dev releaselloyd2011-03-141-1/+1
| |
* | Assume ARMs are little-endian by default; big-endian ARM seems to be a rarity.lloyd2011-03-142-20/+36
| | | | | | | | | | | | GCC 4.3 on ARM converts __builtin_bswap32 into a jump into libgcc rather than 4 simple instructions, so write it out using inline asm instead.
* | merge of '1bf20e797477a87c044a8fd74af47d872f630831'lloyd2011-03-141-2/+4
|\ \ | |/ |/| | | and '51e8d8cc3eb1c29e097bdc77e2773b0fe6d342af'
| * More noteslloyd2011-03-091-0/+4
| |
* | Use the same mesasge expansion trick in SHA-512. Performance onlloyd2011-03-133-121/+124
| | | | | | | | an i7-860 goes from 197 MiB/s to 256 - a 30% improvement!
* | Modify SHA-224/SHA-256 so that it does the message expansion inlloyd2011-03-123-107/+105
|/ | | | | | registers as needed (16 turns before the value is used), with indexes fully precomputed. On a Core i7-860 with GCC 4.5.2, performance went from 152 MiB/s to 167 MiB/s.
* Somewhat improved ARM support/autodetectionlloyd2011-03-092-18/+27
|
* Tick to 1.9.15-devlloyd2011-03-074-5/+9
|
* Split up deleting empty buffers with removing buffer slots from thelloyd2011-03-071-9/+10
| | | | | | deque. This allows removing empty queues even if there are earlier messages with outstanding data; the buffer slot remains so some memory is still used, but reduced to just the pointer.
* Update amalgamation copyright yearslloyd2011-03-021-1/+1
|
* Fix variable mask warning in Sun C++.lloyd2011-03-012-5/+7
| | | | Make comment clearer on how to enable stlport4 in Sun C++
* Tick version numbers for 1.9.14 release1.9.14lloyd2011-03-013-4/+4
|
* Add bcrypt and keywrap exampleslloyd2011-02-232-0/+83
|
* Fix PR 142: the zlib filters were not updated in 1.9.11 to use zeroiselloyd2011-02-183-15/+26
| | | | | | | | instead of clear, so the buffer ended up having size zero, which meant the compression library could never actually do anything, and we would infinite loop. Also add buffer clearing to bzip2, which was missing it entirely.
* Add a new option --link-method which allows the user to override thelloyd2011-02-181-5/+34
| | | | | method by which include files are linked into the build directory. Handy for working around bugs and corner cases.
* Typo fixlloyd2011-02-181-2/+2
|
* Canonicalize OS name for Cygwin; apparently platform will reportlloyd2011-02-181-0/+5
| | | | things like cygwin_nt-5.1 in some cases.
* Move password hashing schemes to src/passhashlloyd2011-02-177-2/+7
| | | | | Set the upper limit on bcrypt hashing to workfactor 18, which takes about 25 seconds to run on my desktop machine.
* Add support for bcrypt, the Blowfish-based password hashing schemelloyd2011-02-167-7/+317
| | | | | used in OpenBSD. Tested as compatible with a common Java implementation (http://www.mindrot.org/projects/jBCrypt/)
* Use size_t rather than u32bit for loop variableslloyd2011-02-164-20/+20
|
* Forward declare Algorithm_Factorylloyd2011-02-162-1/+3
|
* Add some more ECDSA tests (generated using Crypto++ 5.6)lloyd2011-02-161-0/+55
|
* Add the NIST AES key wrap algorithm, as specified in RFC 3394 andlloyd2011-02-155-0/+253
| | | | http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf
* Remove dead codelloyd2011-02-142-127/+0
|
* Const variables where possiblelloyd2011-02-141-5/+5
|
* Make this test easier to understandlloyd2011-02-141-46/+25
|
* Add a set of ECDSA tests using the Brainpool curves. Test caseslloyd2011-02-141-0/+65
| | | | | | generated using Crypto++ 5.6.1. Requested in PR 141.
* Add HMAC, AES, SHA-2, HMAC_RNG deps in libstate for the globallloyd2011-02-111-0/+5
| | | | | | RNG. Pretty much required outside of very special cases, and otherwise someone using --no-autoload will have to know to enable them specifically or lots of things will break.
* Some dependency fixeslloyd2011-02-114-2/+6
|
* Warn about unknown modules passed to --enable-modules or --disable-moduleslloyd2011-02-111-0/+8
|
* Remove inclusions of unused headers.lloyd2011-02-109-21/+19
| | | | Avoid using auto_ptr in the CVC headers.
* Tick version to 1.9.14-devlloyd2011-02-103-5/+7
|
* Tick to 1.9.13 release1.9.13lloyd2011-02-093-4/+8
|
* Pull out variable, causes link problems in amalgamationlloyd2011-02-092-3/+3
|
* More VC warning fixeslloyd2011-02-092-3/+5
|
* More VC warning fixeslloyd2011-02-094-6/+6
|
* Convert the BER/DER coders to use size_t instead of u32bit for smalllloyd2011-02-0926-60/+58
| | | | integer values. Update callers.
* Another castlloyd2011-02-091-1/+1
|
* Some casts to avoid VC warningslloyd2011-02-092-7/+7
|
* Some cleanups, and add an <ios> include for Sun Studio 12lloyd2011-02-093-42/+49
|
* Add a new configure.py option --distribution-info which sets a macrolloyd2011-02-076-20/+37
| | | | | | | | | | | | | | | | | | | | | | | in build.h named BOTAN_DISTRIBUTION_INFO. The default value is 'unspecified'. People packaging botan could set this to another value, for instance 'Gentoo 1.9.13-r3' or 'Debian 1.9.13-1', or 'pristine' to indicate a completely unmodified/stock version. This was suggested by Zooko for Crypto++ in http://sourceforge.net/apps/trac/cryptopp/ticket/11 and seemed like an idea worth stealing. Don't default the version datestmap to the current day if unset, instead set to zero. This allows applications to detect unreleased versions. Document that version_datestamp will return zero for unreleased versions. Change the version_string function to return more information about the current version, including the release date and distribution information. It will now return strings like: Botan 1.9.13 (released 20110207, distribution Gentoo 1.9.13-r3) or for an unreleased version: Botan 1.9.13 (unreleased version, distribution unspecified)
* Apply a patch to configure contributed by Lyon Chen in PR 134.lloyd2011-02-071-1/+1
| | | | | This doen't fix all the cases were bogus symlinks are generated, but it helps one particular useful case.
* Fix the ordering of the GOST 34.10 signature values. Add a testlloyd2011-02-074-20/+22
| | | | | | | | | derived from a DNSSEC RFC. Bug reported by Bert Hubert to the mailing list. According to Bert, this ordering is compatible with the version included in OpenSSL. Also, benchmark GOST 34.10 using the GOST 34.11 hash since that is always what it is used with.
* Remove friend decl of now dead functionlloyd2011-02-071-2/+0
|
* Use constlloyd2011-01-311-4/+4
|
* According to PR 137, cpuid.h doesn't exist with Clang on OS X orlloyd2011-01-211-1/+1
| | | | | | | | FreeBSD. It is not being installed by Clang, so it appears on my machine Clang is actually pulling the header in from GCC's private include directory. Closes PR 137
* Update Keccak to the round 3 variant announced 2011-01-17lloyd2011-01-204-1617/+1613
| | | | | Only change is the padding rule. It 'simplifies' the padding by making it less flexible and harder to implement efficiently. :(
* Move pbe.h to pbe dirlloyd2010-12-282-1/+0
|