aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix the ordering of the GOST 34.10 signature values. Add a testlloyd2011-02-071-4/+4
| | | | | | | | | 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-202-9/+4
| | | | | 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
|
* Rename to avoid conflicts in the amalgamationlloyd2010-12-281-4/+6
|
* Use size_t for shift and rotate values. Also define rotate_left andlloyd2010-12-284-18/+21
| | | | | rotate_right for SIMD types as a template specialization to avoid problems in the amalgamation.
* Add header guardlloyd2010-12-281-0/+5
|
* Use runtime asserts herelloyd2010-12-231-2/+3
|
* Remove debug includeslloyd2010-12-232-6/+0
|
* Oops - should not have used size_t here!lloyd2010-12-221-1/+1
|
* If the user defines BOTAN_NO_SSE_INTRINSICS, avoid includinglloyd2010-12-222-3/+3
| | | | | | intrinsics headers in header files. This is particularly useful for allowing code that will be compiled by nvcc to include loadstor.h, but might be useful in other situations as well.
* Alias sun4u to sparc64. This will break for the many people who arelloyd2010-12-151-0/+4
| | | | | | | running 32 bit userspaces on sun4u machines, but it's often difficult to tell what the compiler does/does not support in that respect, and this will work for people who are using 64 bit userspace which I _think_ is more common now. I hope.
* More VC warning fixeslloyd2010-12-132-2/+2
|
* Avoid more VC warningslloyd2010-12-135-7/+11
|
* Fix compilelloyd2010-12-131-1/+1
|
* Fix some VC warnings under 64 bit compileslloyd2010-12-134-8/+8
|
* Don't hardcode dir where python code liveslloyd2010-12-131-2/+2
|
* Do the XOR a word at a time where possible which gets performance backlloyd2010-12-131-0/+17
| | | | | to the level of the version using xor_buf, at least on a little-endian CPU.
* Fix Keccak message XOR, did not work on big-endian CPUslloyd2010-12-131-8/+12
|
* Reset state on finalizationlloyd2010-12-111-3/+2
|
* XOR the input directly into the state. Only slightly faster (about 5%lloyd2010-12-112-19/+22
| | | | | | on motoko), but does also reduce memory overhead. Perhaps doing the XOR by hand and then doing aligned 64-bit XORs where possible would be beneficial here.
* Single update for padding byteslloyd2010-12-111-4/+3
|
* Add a simple but functioning implementation of Keccak. Only thelloyd2010-12-104-0/+239
| | | | proposed SHA-3 parameter sets are supported.
* Avoid a conditional in point multiplicationlloyd2010-12-071-11/+7
|
* Use append operator instead of copylloyd2010-12-071-21/+16
|
* Missing SQLite filelloyd2010-12-061-0/+90
|
* Respect CFLAGSlloyd2010-12-011-1/+2
|
* Fix deprecation warningslloyd2010-12-011-10/+10
|
* Fix OpenSSL engine compile :/lloyd2010-12-013-8/+25
|
* Spaceslloyd2010-12-011-2/+2
|
* Add LDFLAGS to Python link linelloyd2010-12-011-1/+2
|
* Fix Python wrapperslloyd2010-12-013-18/+4
|
* Updated version from Oli Diggilin <[email protected]> sentlloyd2010-11-308-457/+463
| | | | to me by email 2010-08-18
* Avoid VC cast warninglloyd2010-11-291-1/+1
|
* Special flags for Nehalem so SSSE3 gets enabled for AESlloyd2010-11-291-0/+1
|
* Clang 2.8 also has cpuid.hlloyd2010-11-291-1/+1
|
* Make the random serial numbers 256 bits to ensure they will neverlloyd2010-11-291-1/+1
| | | | | | collide. One might, theoretically, generate 2^64 certificates with a single CA (say, for each particle in a planet wide cloud of smart dust), but 2^128 does not seem possible.
* Cast to avoid VC warninglloyd2010-11-291-1/+1
|
* Add checking here and avoid silent castlloyd2010-11-291-1/+8
|
* Make TLS_Policy::check_cert pure virtuallloyd2010-11-292-9/+8
|
* Add X509_Certificate::to_stringlloyd2010-11-292-2/+110
| | | | The x509info example now just calls that
* Overflow warning in MSVClloyd2010-11-291-1/+2
|
* Add assert equallloyd2010-11-291-8/+18
|
* Inline SAFER-SK tableslloyd2010-11-243-126/+113
|
* Fix compilelloyd2010-11-231-1/+1
|
* Fix pr 127 and pr 128. Don't require the common name and country codeslloyd2010-11-192-35/+26
| | | | | | in newly generated DNs, there are reasonable cases where you do not need or want either. Also fix the saving of dn_bits, and remove X509_DN::do_decode and inline it into its only caller (decode_from).
* Old function name, and made message confusing anywaylloyd2010-11-051-2/+1
|
* Unfortunately it looks like VC 2008 has major issues with howlloyd2010-11-051-8/+3
| | | | | | | | Algorithm::clone is redefinied with covariant return types in the subclasses. Curiously, it only had problems with hash functions and MACs, not ciphers. So remove Algorithm::clone(), leaving the subclass implementations.