| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
pretends to be GCC but doesn't understand the warning attribute), and
older GCC (which also has issues with it)
|
| |
|
|
|
|
|
|
|
| |
the macro BOTAN_NO_DEPRECATED_WARNINGS
Remove the full modules list; not that useful/informative. Put the
remaining build information at the top of the file.
|
|
|
|
| |
deprecation warnings (at least for GCC and VC++). Use in some places.
|
| |
|
|
|
|
| |
the directory when building a DLL
|
|
|
|
|
| |
amount of value. Add a note that -library=stlport4 may be needed on
Linux (seems to depend on glibc version).
|
|
|
|
|
|
|
| |
Also use -xO5 instead of -xO2; everything seems to work under -xO5 on
x86-32 and x86-64 with my version of Sun Studio. Curiously, several things
are miscompiled with -xO2! Definitely doesn't give me positive feelings
about this optimizer.
|
|
|
|
|
| |
way to create a static library using Sun Studio is to invoke the
compiler with the -xar flag.
|
| |
|
|
|
|
| |
yet tested.
|
|
|
|
|
|
|
| |
Fix a bug that would cause a harmless but bogus macro to be generated
in build.h if you used --enable-sse2
Add --enable-movbe to turn on a macro marking movbe as available
|
|
|
|
| |
causes obnoxious problems under MinGW.
|
| |
|
| |
|
|
|
|
| |
errors can result due to not getting the C++ runtime library.
|
|
|
|
|
|
|
|
|
|
| |
the system dynamic linker (if any). Currently it only supports dlopen,
and is only enabled on Linux. It will almost certainly work on BSDs
and Solaris as well, though, and should be easy to extend to support
Win32-style dynamic loading.
Also add a new engine, Dynamically_Loaded_Engine, which loads up a new
Engine object from a shared library/DLL.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
set of warning flags. Use just plain '-Wall -W' for regular GCC so the
default build is happy on arbitrarily old versions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
getting runtime value.
|
|
|
|
| |
used by MacPorts; I assume they know what they are doing.
|
|
|
|
|
|
|
| |
some cases.
Add a westmere alias for "Core i5 CPU M 520", which is what uname (and thus,
platform.processor()) returns on my laptop. Mostly for my benefit of course.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
test app...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are multiple unsatisfactory elements to the current solution,
as compared to how blinding was previously done:
Firstly, blinding is only used in the baseline implementations; the code
using OpenSSL and GMP is not protected by blinding at all.
Secondly, at the point we need to set up blinding, there is no access
to a PRNG. Currently I am going with a quite nasty solution, of using
a private key parameter to seed a simple PRNG constructed as:
SHA-512(TS1 || private_key_param || public_key_param || TS2)
I really want to fix both of these elements but I'm not sure how to do
so easily.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|