Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consolidate the two engines that provided assembler implementations | lloyd | 2010-07-13 | 11 | -98/+30 |
| | | | | | | (amd64_eng and ia32_eng) into a new asm_engine. This same engine could also be used in the event that asm code for other CPUs was added later on. | ||||
* | Remove unused UI param to CMS_Decoder | lloyd | 2010-07-09 | 2 | -6/+3 |
| | |||||
* | Drop support for running configure with Python 2.4. This allows | lloyd | 2010-07-09 | 2 | -2/+2 |
| | | | | | | | | | removing several workarounds for limitations in optparse in that release, and also allows using the ternary operator added in 2.5. As far as I can tell, the only still active release of any Linux/BSD distro that uses 2.4 is RHEL5. The beta of RHEL6 has 2.6, and it seems likely that RHEL6 will be out before 1.10.0. | ||||
* | Delete os defaults file - only used by Perl | lloyd | 2010-07-09 | 1 | -19/+0 |
| | |||||
* | Rename S2K to PBKDF, because that is by far the most common name - S2K | lloyd | 2010-07-09 | 16 | -118/+108 |
| | | | | | | | | | | | | | really is only used by OpenPGP, and largely it was named S2K here because the OpenPGP S2K was implemented years before the ones in PKCS #5. We have a typedef of PBKDF to S2K, and an inlined get_s2k that calls get_pbkdf for source compatability. There doesn't seem to be any reason to have a forward for the renamed s2k.h header - to actually use a PBKDF, you'd have to either include lookup.h and call get_s2k / get_pbkdf, or else include an algorithm-specific header and use it directly. In either case, including s2k.h is neither necessary nor sufficient. | ||||
* | Fix constructor | lloyd | 2010-07-09 | 1 | -1/+1 |
| | |||||
* | Argh: SecureVector's constructor needs to behave differently | lloyd | 2010-07-07 | 1 | -2/+14 |
| | | | | | | | | | | | | | | depending on if INITIAL_LEN is non-zero. Normal semantics are the vector will change size based on whatever it is constructed with, but that's bad in cases like SecureVector<byte, 4> val(buffer, 3); which in the past would be a 4 valued thing with 3 elements set and one zero trailing. (This construct showed up in base64 and possibly elsewhere). If INITIAL_LEN is set, use copy instead so the length does not change. C++0x cannot come soon enough. | ||||
* | These functions are internal use only, and don't need to be exported with | lloyd | 2010-06-30 | 3 | -13/+15 |
| | | | | BOTAN_DLL | ||||
* | Make round_up and round_down templates instead of fixed to use u32bits | lloyd | 2010-06-29 | 4 | -13/+21 |
| | |||||
* | If the Keyed_Filter's set_iv is called (ie, in the case that the1.9.9 | lloyd | 2010-06-28 | 1 | -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 name | lloyd | 2010-06-28 | 16 | -5/+64 |
| | |||||
* | Simplify feature checks | lloyd | 2010-06-28 | 1 | -7/+12 |
| | |||||
* | Typo fix | lloyd | 2010-06-28 | 1 | -1/+1 |
| | |||||
* | For the SHA-2 classes, don't use inheritence to share a handful of | lloyd | 2010-06-28 | 4 | -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 full | lloyd | 2010-06-28 | 1 | -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 call | lloyd | 2010-06-25 | 1 | -2/+4 |
| | | | | its constructor directly, instead of going through LibraryInitializer. | ||||
* | Add detection support for upcoming AVX | lloyd | 2010-06-25 | 1 | -1/+8 |
| | |||||
* | Avoid name collision in amalgamation | lloyd | 2010-06-22 | 1 | -5/+10 |
| | |||||
* | Avoid unused parameter warning | lloyd | 2010-06-22 | 1 | -1/+1 |
| | |||||
* | We can't hide the filter wrappers in an anon namespace because they | lloyd | 2010-06-22 | 2 | -6/+26 |
| | | | | are forward declared in the headers. | ||||
* | Only call the scalar versions if we actually have leftover blocks to | lloyd | 2010-06-22 | 4 | -8/+16 |
| | | | | process | ||||
* | Doxygen | lloyd | 2010-06-22 | 5 | -14/+76 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 10 | -17/+55 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 2 | -6/+229 |
| | |||||
* | Define X509_Object::encode in terms of BER_encode and PEM_encode | lloyd | 2010-06-21 | 1 | -22/+12 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 3 | -8/+72 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 4 | -13/+41 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 9 | -50/+226 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 8 | -29/+107 |
| | |||||
* | Doxygen | lloyd | 2010-06-21 | 1 | -0/+20 |
| | |||||
* | Add a simple comment for the Botan namespace decl in types.h. This | lloyd | 2010-06-21 | 1 | -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 functions | lloyd | 2010-06-21 | 8 | -15/+43 |
| | | | | | for getting access to the key schedule, instead of giving the key schedule protected status, which is much harder tu audit. | ||||
* | Doxygen | lloyd | 2010-06-21 | 1 | -0/+13 |
| | |||||
* | Make Serpent's key_schedule and actual round keys private. Add | lloyd | 2010-06-21 | 1 | -1/+15 |
| | | | | | protected accessor functions for get and set. Set is needed by the x86 version since it implements the key schedule directly. | ||||
* | Doxygen | lloyd | 2010-06-21 | 2 | -7/+22 |
| | |||||
* | merge of '294e2082ce9231d6165276e2f2a4153a0116aca3' | lloyd | 2010-06-18 | 1 | -5/+2 |
|\ | | | | | | | and '4c642e0b12f070c2c36bbe08af2b6374af92ef92' | ||||
| * | Enable the /proc walker on NetBSD. The version that had problems | lloyd | 2010-06-16 | 1 | -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. | lloyd | 2010-06-17 | 1 | -1/+4 |
|/ | | | | Required after GCC 4.4 | ||||
* | We can expose valid_iv_length in the header without problems. | lloyd | 2010-06-16 | 2 | -8/+3 |
| | | | | Remove include of assert.h in basefilt.cpp | ||||
* | In the cipher KAT selftest, query if the IV length we got was | lloyd | 2010-06-16 | 1 | -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 in | lloyd | 2010-06-16 | 12 | -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 Doxygen | lloyd | 2010-06-16 | 3 | -2/+17 |
| | |||||
* | Hide File_Descriptor_Source | lloyd | 2010-06-16 | 2 | -12/+16 |
| | |||||
* | Doxygen for divide.h | lloyd | 2010-06-16 | 1 | -1/+11 |
| | |||||
* | More Doxygen updates. Also, don't expose divide() in numthry.h | lloyd | 2010-06-16 | 2 | -38/+75 |
| | | | | anymore, only in divide.h | ||||
* | More BigInt Doxygen comment updates | lloyd | 2010-06-16 | 1 | -19/+20 |
| | |||||
* | merge of '3632315d498b1223cca850051518f7a3273f5449' | lloyd | 2010-06-16 | 63 | -336/+581 |
|\ | | | | | | | and '5c9cdb3b727e7336f0a18f72e6ca2eb7460d31ec' | ||||
| * | Cleanup some BigInt doxygen comments | lloyd | 2010-06-16 | 1 | -31/+44 |
| | | |||||
| * | Replace "@return a blah" and "@return the blah" with just "@return blah" | lloyd | 2010-06-16 | 36 | -168/+168 |
| | | |||||
| * | More Doxygen | lloyd | 2010-06-16 | 2 | -1/+14 |
| | |