aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for GCC's byteswap builtins. They were added in 4.3 andlloyd2010-07-271-4/+29
| | | | | | work for 32 and 64 bit integers. Using these instead of inline asm may offer better scheduling on x86, and additionally offers native byteswapping on other platforms (PPC, ARM, etc).
* Modify CPUID so all the check functions are purely inline. Add a newlloyd2010-07-264-49/+32
| | | | | initialize() call which must be called prior to use of any other functions.
* Consolidate the two engines that provided assembler implementationslloyd2010-07-1312-98/+31
| | | | | | (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.
* Removed UI herelloyd2010-07-121-3/+1
|
* Warn if no info files for compilers, CPUs or OSes get loaded; this islloyd2010-07-091-5/+9
| | | | indicative of either a busted tree or some kind of path problem.
* Remove unused UI param to CMS_Decoderlloyd2010-07-092-6/+3
|
* Drop support for running configure with Python 2.4. This allowslloyd2010-07-095-74/+34
| | | | | | | | | 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.
* Small tweaks re 2to3lloyd2010-07-091-4/+4
|
* Better --help output and some fixes for ISA dependency handling.lloyd2010-07-091-11/+18
|
* Add debug log showing how many info files we loadedlloyd2010-07-091-0/+6
|
* Delete os defaults file - only used by Perllloyd2010-07-092-22/+0
|
* Rename S2K to PBKDF, because that is by far the most common name - S2Klloyd2010-07-0926-211/+205
| | | | | | | | | | | | | 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 constructorlloyd2010-07-091-1/+1
|
* Simplify this with list comprehensionslloyd2010-07-091-2/+2
|
* Argh: SecureVector's constructor needs to behave differentlylloyd2010-07-071-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.
* Read and save the files in binary mode to avoid weird EOF problemslloyd2010-07-072-2/+2
| | | | on Windows.
* Tick version to 1.9.10-devlloyd2010-06-303-5/+8
|
* These functions are internal use only, and don't need to be exported withlloyd2010-06-303-13/+15
| | | | BOTAN_DLL
* Fix ECB benchmarkinglloyd2010-06-301-1/+3
|
* 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.
* Tick readme, log, configure for 1.9.9 releaselloyd2010-06-283-4/+4
|
* The fix for build.h also fixes a problem compiling under Apple's GCC 4.2lloyd2010-06-281-0/+1
|
* Give all Filter objects a method for querying their namelloyd2010-06-2819-7/+86
|
* 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-282-3/+18
| | | | | 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-252-1/+9
|
* Avoid name collision in amalgamationlloyd2010-06-221-5/+10
|
* Reorganize building guide, putting the most important things near thelloyd2010-06-221-59/+101
| | | | | front. Describe more on how to use 2to3, and also describe how to use the amalgamation.
* Coerce values to a list before trying to concatenate. This ensures thelloyd2010-06-221-3/+4
| | | | | | | | same code works in Python 2 and Python 3. At this point the only changes required to make configure.py run under Python 3.1 is changing the exception catch syntax (from "catch Exception, e" to "catch Exception as e"). Unfortunately Python 2.4 doesn't understand this new syntax, though 2.6 does.
* If the version datestamp is not set, use the current day of the build.lloyd2010-06-221-1/+6
|
* 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
|
* When configure is printing detected/guessed build settings, it nowlloyd2010-06-211-4/+9
| | | | | prints the options you should use if you want to set it to something else.
* 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
|