| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Update download links before I forget
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
bit window may well improve things further. Currently seeing 20-25%
improvement in ECDSA signature verification and 25 to 40% in
GOST-34.10 verifications.
|
|
|
|
| |
source file.
|
|
|
|
| |
already. Reported by Jeremy C. Reed <[email protected]>
|
|
|
|
| |
Fix build log; copy and paste error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In ECDSA, this cases should all be caught by the later check that R is
not zero, so I don't believe there is any security danger.
However the GOST 34.10 implementation did not have either check.
Fortunately, the function that extracts the affine X coordinate from
the Jacobian coordinates will throw an exception if the point is at
infinity, so we would not in fact accept invalid signatures, but this
is mostly by luck. And still represents a bit of a DoS potential.
I checked the history, it looks like not checking for zeros at the
start traces back to the original InSiTo code, and I copied the ECDSA
code for GOST without thinking about it too much.
|
|
|
|
|
|
|
|
|
| |
certificate policies extension, though it's really not supported
at all.
Remove test code from secmem.h
Fix building the examples
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
converting back and forth. This gives a 10 to 20% speedup on a Core
i7. In addition, the CurveGFp no longer contains a Barrett reducer,
saving 3 BigInts worth of memory.
Add a #if'ed out alternative to point multiplication using the
Montgomery ladder technique. It runs in (more or less) constant time,
but rather significantly slower than the 4 bit window technique
currently used.
Tweak the window sizes to match the theoretical optimums.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
not well tested.
|
|
|
|
|
|
|
|
|
|
| |
maintainer.
Namespace the headers in /usr/local/include/botan-1.9/botan, so
multiple versions can be installed in parallel.
Down version to 1.9.18 since there are a good number of changes in
this release already.
|
|
|
|
|
|
|
| |
Fix BigInt::get_substring when length is equal to 32 - an overflow
would cause the mask to be equal to 0 thus producing nothing at all.
Disable CVC by default, it's not ready for prime time in any sense.
|
|
|
|
| |
consumer/desktop level Atoms are actually 32 bit.
|
|
|
|
|
|
|
|
| |
currently.
Include the source directory name in object file names.
Add some more DES test vectors.
|
|
|
|
|
|
|
| |
conditionals to help avoid timing anylsis. Unfortunately GCC is too
smart for us and compiles it to jumps anyway; probably would need to
put the delim search into its own function and pass variables by
volatile pointers to force the compiler to do what we want.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and -fvisibility support if the version is too old. You can also turn
them off explicitly with the (hidden) option --without-visibility. We
get the version number from the binary specified with --cc-bin, if the
user set that, rather than from plain 'g++'.
Fix Solaris install - apparently 'install' cmd is broken/dumb.
Fix Ekopath flags for submodels.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
results are undefined. This happens to work under GCC and most other
compilers, but does not under Visual C++ 2010. This broke hex_encode
when encoding an empty input, and this subsequently broke SSL
handshaking.
2010 includes a TR1 that works fine for SSL, but it puts the headers
in the main header space rather than under tr1/, so account for that.
Hack the socket header into working under WinSock
Tick version to 1.10.0
|
|
|
|
| |
Prune the users list and update some dead links
|
| |
|
| |
|
|
|
|
| |
support AES-NI.
|
|
|
|
|
|
|
|
|
| |
right thing for most modern distros, and if someone is using Sun CC on
Linux they probably know if they don't want that.
Record successful Sun Studio 5.10 build, also note that Clang 2.9 also
seems to miscompile SSE2 IDEA. The Clang 2.9 build on FreeBSD did not
have this failure, wonder what happened there.
|
|
|
|
|
|
|
|
| |
Split log by release series instead of year.
Make dedicated landing page.
If SPHINX_OPTS is set, it will be passed to sphinx-build
|
|
|
|
|
|
| |
Many other cleanups and changes in the docs. Make the index page a
functional standin for the current site so the entire website can be
built using Sphinx.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
will default to the full output file name. That actually worked as
expected when the so was always written as libbotan-1.8.2, but doesn't
anymore since soname does not match the written file. This probably
won't work right on Windows, but I don't have access to Intel C++ on
Windows.
Note good Intel C++ 11.1 build in build log
Note that CPython 2.7 works for configuring the build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
around a bug in FreeBSD 6.1, which is long EOL.
If we can't figure out the CPU in configure.py, if running
verbosely dump the entire list of CPUs we know about.
Some doc cleanups.
Rename the 'beos' target to 'haiku', since testing shows that
botan can't compile under the old BeOS GCC 2.95 anyway.
Remove the call to idle_time in the stats entropy source - it causes a
crash on Haiku R1-alpha2 somewhere inside a system DLL. I didn't
bother debugging it beyond looking at the backtrace.
Add a 'bepc' alias for i386 as that is what Haiku reports its
processor as.
Fix the install dirs to match Haiku R1, though apparently they will
change in R2 anyway when they add package management.
Enable use of gmtime_r on Haiku.
|
| |
|
|
|
|
|
| |
and probably useless threads section, also fix compilation of several
examples.
|
|
|
|
|
|
|
| |
standardized by NIST; the FPE currently included is just a random one
that was relatively easy to implement. Move the header to fpe_fe1.h,
and rename the function. Update the example and add some documentation
for it.
|
|
|
|
|
|
| |
in the 1.9.16 change notes.
Update the passhash9 ref to match reality.
|
|
|
|
|
|
|
| |
If neither --with-sphinx nor --without-sphinx were used, then test for
sphinx-build in the path and turn it on if we find it.
Document the --distribution-info option.
|
|
|
|
|
|
| |
Add missing dependency in the SIMD engine that would cause build
failures when using --no-autoload and explicitly requesting a SIMD
algorithm like aes_ssse3 using --enable-modules.
|
|
|
|
|
|
|
| |
disabled under gcc.
Hide asm labels in the x86-32 code; some did not begin with a .L so
they were being exported.
|
|
|
|
|
| |
--with-doxygen, and add no-op --without versions for both. This makes
it easier to script the build in Gentoo's ebuild.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
proper. Enabled using --use-sphinx and --use-doxygen options, both of
which default to false. If Sphinx isn't enabled, the ReST sources are
copied directly (a case where having a very readable source format
comes in handy...)
The reference manual (either Sphinx processed into HTML, or the raw
source) and the Doxygen output (if enabled) are copied into the doc
directory upon install on Unix. Currently not done on Windows, the
install target is fairly bogus there currently, and hasn't been tested
in some time.
|
|
|
|
| |
all relevant to current state of botan.
|
| |
|