aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make round_up and round_down templates instead of fixed to use u32bitslloyd2010-06-294-13/+21
|
* If the Keyed_Filter's set_iv is called (ie, in the case that the1.9.9lloyd2010-06-281-2/+3
| | | | | filter doesn't support IVs at all), throw an exception unless the IV has zero length.
* Give all Filter objects a method for querying their namelloyd2010-06-2816-5/+64
|
* Simplify feature checkslloyd2010-06-281-7/+12
|
* Typo fixlloyd2010-06-281-1/+1
|
* For the SHA-2 classes, don't use inheritence to share a handful oflloyd2010-06-284-85/+106
| | | | | things, just share the compression function via an anon namespace member, and replicate the simple stuff like copy_out.
* Add a new configure option --maintainer-mode which turns on the fulllloyd2010-06-281-2/+3
| | | | | set of warning flags. Use just plain '-Wall -W' for regular GCC so the default build is happy on arbitrarily old versions.
* If we are going to lazily initialize, just create the type and calllloyd2010-06-251-2/+4
| | | | its constructor directly, instead of going through LibraryInitializer.
* Add detection support for upcoming AVXlloyd2010-06-251-1/+8
|
* Avoid name collision in amalgamationlloyd2010-06-221-5/+10
|
* Avoid unused parameter warninglloyd2010-06-221-1/+1
|
* We can't hide the filter wrappers in an anon namespace because theylloyd2010-06-222-6/+26
| | | | are forward declared in the headers.
* Only call the scalar versions if we actually have leftover blocks tolloyd2010-06-224-8/+16
| | | | process
* Doxygenlloyd2010-06-225-14/+76
|
* Doxygenlloyd2010-06-2110-17/+55
|
* Doxygenlloyd2010-06-212-6/+229
|
* Define X509_Object::encode in terms of BER_encode and PEM_encodelloyd2010-06-211-22/+12
|
* Doxygenlloyd2010-06-213-8/+72
|
* Doxygenlloyd2010-06-214-13/+41
|
* Doxygenlloyd2010-06-219-50/+226
|
* Doxygenlloyd2010-06-218-29/+107
|
* Doxygenlloyd2010-06-211-0/+20
|
* Add a simple comment for the Botan namespace decl in types.h. Thislloyd2010-06-211-0/+3
| | | | | triggers Doxygen generating warnings for global functions declared in the namespace that aren't documented.
* In IDEA, Noekeon, Serpent, XTEA, provide and use ro accessor functionslloyd2010-06-218-15/+43
| | | | | for getting access to the key schedule, instead of giving the key schedule protected status, which is much harder tu audit.
* Doxygenlloyd2010-06-211-0/+13
|
* Make Serpent's key_schedule and actual round keys private. Addlloyd2010-06-211-1/+15
| | | | | protected accessor functions for get and set. Set is needed by the x86 version since it implements the key schedule directly.
* Doxygenlloyd2010-06-212-7/+22
|
* merge of '294e2082ce9231d6165276e2f2a4153a0116aca3'lloyd2010-06-181-5/+2
|\ | | | | | | and '4c642e0b12f070c2c36bbe08af2b6374af92ef92'
| * Enable the /proc walker on NetBSD. The version that had problemslloyd2010-06-161-5/+2
| | | | | | | | | | (2.0.2) is a solid 5 years old at this point. Haven't tested; don't have access to any NetBSD machines at the moment.
* | Use mode(TI) operations to get access to MIPS 64-bit multiply.lloyd2010-06-171-1/+4
|/ | | | Required after GCC 4.4
* We can expose valid_iv_length in the header without problems.lloyd2010-06-162-8/+3
| | | | Remove include of assert.h in basefilt.cpp
* In the cipher KAT selftest, query if the IV length we got waslloyd2010-06-161-4/+13
| | | | | | supported before setting it. If it's not, then check if a 0 length IV is supported (eg, ECB mode). If neither is true, throw Invalid_IV_Length.
* Add Keyed_Filter::valid_iv_length (it was already inlloyd2010-06-1612-14/+56
| | | | | StreamCipher_Filter, but not elsewhere). Add to all modes. Defaults to return true iff the IV length is zero; ie that IVs are not supported.
* More Doxygenlloyd2010-06-163-2/+17
|
* Hide File_Descriptor_Sourcelloyd2010-06-162-12/+16
|
* Doxygen for divide.hlloyd2010-06-161-1/+11
|
* More Doxygen updates. Also, don't expose divide() in numthry.hlloyd2010-06-162-38/+75
| | | | anymore, only in divide.h
* More BigInt Doxygen comment updateslloyd2010-06-161-19/+20
|
* merge of '3632315d498b1223cca850051518f7a3273f5449'lloyd2010-06-1663-336/+581
|\ | | | | | | and '5c9cdb3b727e7336f0a18f72e6ca2eb7460d31ec'
| * Cleanup some BigInt doxygen commentslloyd2010-06-161-31/+44
| |
| * Replace "@return a blah" and "@return the blah" with just "@return blah"lloyd2010-06-1636-168/+168
| |
| * More Doxygenlloyd2010-06-162-1/+14
| |
| * Yet more Doxygen commentslloyd2010-06-1620-98/+217
| |
| * Remove DETAILS_AT_TOP, not a Doxygen option anymorelloyd2010-06-161-1/+0
| |
| * Move (empty) implementation of Keyed_Filter::set_iv to basefilt.cpplloyd2010-06-162-1/+8
| | | | | | | | due to Doxygen vs GCC
| * Move a couple of StreamCipher functions to a source file to avoid thelloyd2010-06-162-8/+26
| | | | | | | | Doxygen vs GCC problem.
| * Require all PK keys implement check_key. Add for ECC keys.lloyd2010-06-163-5/+11
| |
| * Compilation fixeslloyd2010-06-161-1/+3
| |
| * Move the implemention of the functions in the Engine base class into alloyd2010-06-163-33/+101
| | | | | | | | | | | | | | source file. Otherwise we ran into a conflict between Doxygen comments, which require us to name the params, and GCC's -Wunused-parameters, which will warn about parameters which aren't being used.
* | Remove some of the more extraneous namespaceslloyd2010-06-167-74/+79
|/