| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Don't use /EHc; it says "C" functions are nothrow, which is not true
for bigint_sub2_rev.
Include needed <intrin.h> for mp_asm.h
|
| |
|
|
|
|
| |
works on both x86-64 and ia64. Will allow using 64-bit limbs on Windows.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that if you want to use Python 3, you have to use 2to3. This
has come up a couple of times on the list.
Add make check to the 'for the impatient' instructions.
Mention --no-autoload.
Said that we would guess the compiler; this isn't true with the
Python version. Add examples of using ICC and Clang.
Note that prebuilt Windows binaries are sometimes available.
Talk about make install for Windows.
Fix version #s in pkg-config output.
|
| |
|
|
|
|
| |
a larger major version #.
|
|\
| |
| |
| | |
and 'b9e4e0dcc98d3266c2d7e4fd631038babdfd933b'
|
| | |
|
| | |
|
| |
| |
| |
| | |
friend
|
| | |
|
| | |
|
|/
|
|
|
| |
This caused Doxygen to think this was markup meant for it, which really
caused some clutter in the namespace page.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
to catch SIGPIPE instead. Simply avoid building the unix_socket module
there.
Yet another reason to move to a fully async/event-based interface that
doesn't interact with sockets directly.
|
|
|
|
|
|
| |
choose 256 bits unless the pbits was exactly 1024. That would mean you
for pbits = 512/768, the FIPS 186-3 size check would fail and it
wouldn't work. Pointed out by Rickard Bellgrim.
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the help.
Unfortunately we can't just remove --enable-isa, because for the
callback to work the target list has to already exist, and it only
does by virtue of the default=[] param to the enable-isa setup. We
could just use append_const, except then we can't run on Python 2.4,
and the latest release of RHEL only has 2.4 :(
Rename aes_ni to aes-ni in configuration-speak
|
|
|
|
| |
bogus macros will result if there is a dash in the arch name (eg HITACHI-SH)
|
|
|
|
|
| |
More commentary posted to the list:
http://lists.randombit.net/pipermail/botan-devel/2010-May/001123.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the implementation rather than the preferred one. Update all
implementations.
Add a new function parallel_bytes() which returns
parallelism() * BLOCK_SIZE * BUILD_TIME_CONSTANT
This is because i noticed all current calls of parallelism() just
multiplied the result by the block size already, so this simplified
that code.
The build time constant is set to 4, which was the previous default
return value of parallelism(). However the SIMD versions returned
2*native paralellism rather than 4*, so this increases the buffer
sizes used for those algorithms.
The constant multiple lives in buildh.in and build.h, and is named
BOTAN_BLOCK_CIPHER_PAR_MULT.
|
|
|
|
| |
that enable botan to be built under the clang C++ compiler.
|
|
|
|
|
|
|
|
|
|
|
|
| |
work at least as far back as 3.2.3. And GCC's manual for -dumpversion
says "Print the compiler version (for example, `3.0')", which suggests
it works at least that far back, which is good enough (almost
certainly GCC 2.95 can't compile botan, in any case).
Also print the detected version.
Make an error (being unable to executed GCC) a warning instead of a
info message.
|
|
|
|
| |
This should work with both Python 2 and Python 3.
|
|\
| |
| |
| | |
and 'ce3d40d9f2e90346189ca6dfed2a1f38804d5c10'
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
if we are compiling under GCC, or 0 otherwise.
Use it in cpuid.cpp for use of GCC's cpuid.h header file.
If we don't have a method of calling cpuid, print a warning.
|
| |
| |
| |
| |
| |
| |
| | |
which architectures the OS supported shared libs on; in all cases it
was either all or none. Replace with new config build_shared [yes|no],
which defaults to yes but is set to no for MinGW and Cygwin since
shared libs don't seem to be working well there.
|
| |
| |
| |
| |
| |
| |
| |
| | |
of this pointed out by Falko Strenzke. The timing differences between
different error conditions could lead to attacks even with the same
error message. Instead use a (mostly) straightline
implementation. However scanning for the delim byte is still
timing/input dependenant, so this is not a 100% fix.
|
| |
| |
| |
| |
| |
| |
| | |
a patch from Zbigniew Zagorski ([email protected]) that checks for
cl.exe or g++.exe in the path; if cl.exe is found, use that, otherwise
if g++.exe is found, use that, otherwise default to VC++ (previous
behavior).
|
| |
| |
| |
| |
| | |
instead of doing cast+assign - GCC on SPARC rejects because the required
alignment increases.
|
|/ |
|
|\
| |
| |
| | |
and '561b7dbb17d3809ca98a31b718ee55ae9d52cb2c'
|
| |
| |
| |
| | |
(eg "NoSuchCipher/CBC")
|
|/
|
|
|
| |
(before 4.3). Probably will need to write asm blocks for those older
versions.
|
|
|
|
|
|
|
|
|
|
| |
be branch-free. This reduces performance noticably on my Core2 (from
32 MiB/s to a bit over 27 MiB), but so it goes.
The IDEA implementation using SSE2 is already branch-free here, and
runs at about 135 MiB/s on my machine.
Also add more IDEA tests, generated by OpenSSL
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
entirely. add_entropy() just adds the input into the extractor; if
more than 1024 bytes of input have been added by the user since the
last reseed, then force a reseed. Until that point, the data simply
remains accumulating in the extractor, which is fast and helps ensure
a large block of data is input when we finally do reseed.
|
|
|
|
| |
contents of all SSL/TLS handshake messages into the PRNG input.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
to be named differently from add_entropy to deal with odd C++
overloading/virtual rules.
|
| |
|
|
|
|
|
|
| |
Comb4P. If you do this, the first N bytes are all zero, which could
expose some problems, especially if the caller truncates or is relying
on Comb4P acting like a random function.
|