| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
an amalgamation and the app is compiled in Unicode mode.
|
|
|
|
| |
explicit cast.
|
| |
|
|
|
|
| |
cpuid intrinsic) and older GCC (no cpuid.h before 4.3)
|
| |
|
|
|
|
|
| |
Try to detect the mtn revision (by shelling out to mtn automate), and
including it in build.h as BOTAN_VERSION_VC_REVISION.
|
| |
|
| |
|
|
|
|
| |
at config time.
|
|
|
|
|
|
|
|
|
|
| |
working correctly under Clang - the technique for emulating unsigned
compare relied on signed overflow. The new method does not, and works
under GCC, ICC, and Clang. Even better, the compare takes only 2
instructions instead of 4.
Prevent using any of the asm implementations under Clang on x86-32.
All of them crash under Clang 2.9, unclear why.
|
|
|
|
|
|
| |
Back the reported version from 1.10.0 to 1.9.17 for the time
being. Still on the fence if this will be 1.10.0 or another release
candidate instead.
|
|
|
|
| |
added to the flags here.
|
|
|
|
|
|
|
| |
disabled under gcc.
Hide asm labels in the x86-32 code; some did not begin with a .L so
they were being exported.
|
|
|
|
|
|
|
|
|
|
| |
Some fixes for the Windows installer config
Remove the SIMD rotate overloads; VC 2010 does not like passing a
__m128i by value, which is required to match the template overload for
the regular rotates. Could change it to a const reference, but I would
worry this would inhibit compiler optimizations. Only used in one
place (Noekeon), so just use the long expressions there.
|
|
|
|
|
| |
add support for features that it has that apparently the last version
I tested did not, including dynamic loading.
|
|
|
|
|
| |
around a bug in GCC 4.[456] that prevents compilation when using
optimization and PIC on 32-bit x86.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Avoid using auto_ptr in the CVC headers.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
rotate_right for SIMD types as a template specialization to avoid
problems in the amalgamation.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Remove version of search_map that returns two distinguishing results;
only used in one place, and that can be replaced by a call to count()
|
| |
|
|
|
|
|
|
|
|
| |
query, clearing, and cloning. Applies to ciphers, hashes, MACs, and
PBKDFs. May extend to KDFs later as well.
A single combined hierarchy in particular will make the algo_factory
much simpler.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This breaks API for anyone creating their own Filter types, but it had
to happen eventually.
|
|
|
|
|
| |
and writes the bytes to the stream in big-endian order. Use it in
KDF2, MGF1, and FPE.
|
| |
|
|
|
|
| |
especially now that the standalone hex encoder is around
|
| |
|
|
|
|
|
|
|
|
|
|
| |
errors of the form
if(some_expr_indicating_failure)
throw Internal_Error("Some mildly informative message");
Make this simpiler with the addition of a BOTAN_ASSERT macro which will
throw an exception upon failure.
|