| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than silently replacing the C++ versions. Instead they are silently
replaced (currently, at least) at the lookup level: we switch off the set
of feature macros set to choose the best implementation in the current
build configuration. So you can have (and benchmark) MD5 and MD5_IA32
directly against each other in the same program with no hassles, but if
you ask for "MD5", you'll get maybe an MD5 or maybe MD5_IA32.
Also make the canonical asm names (which aren't guarded by C++ namespaces)
of the form botan_<algo>_<arch>_<func> as in botan_sha160_ia32_compress,
to avoid namespace collisions.
This change has another bonus that it should in many cases be possible to
derive the asm specializations directly from the original implementation,
saving some code (and of course logically SHA_160_IA32 is a SHA_160, just
one with a faster implementation of the compression function, so this seems
reasonable anyway).
|
|\
| |
| |
| |
| |
| | |
ca7d7fc1ae6b55c5328c9cf1ec1cafd1daadedd4)
to branch 'net.randombit.botan.modularized' (head 614263a9742a0c554e4093620147f6e156264d41)
|
| | |
|
| |
| |
| |
| | |
Derek Scherger
|
| |
| |
| |
| |
| | |
them modules now. In any case there is no distinction so info.txt seems
better.
|
| |
| |
| |
| |
| | |
a lot of public key stuff in here that needs to be extracted however,
and probably 2-3 other modules worth of stuff to split off (engines, etc)
|
| | |
|
| |
| |
| |
| |
| |
| | |
Correct the configure program so modules are not autoloaded if their
dependences are not available. (Eg, --no-module=mdx_hash will disable
MD4, MD5, SHA-1, etc rather than cause a compliation failure)
|
| | |
|
| | |
|
| |
| |
| |
| | |
inside modules
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new option --disable-modules which allows for disabling any
set of modules that normally would be autoloaded.
Rename the Botan feature test macros from BOTAN_EXT_BLAH to BOTAN_HAS_BLAH,
which will be much more sensible especially when everything is done in this
fashion (eg, BOTAN_HAS_BLOWFISH or BOTAN_HAS_RSA, etc)
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
has the intent of modularizing Botan's source code, and making it
much easier to add or remove various things at compile time.
In this first checkin:
Add support for nested directories in modules/ and move all the modules
into grouped directories like entropy/ or compression/
Currently this is not ideal, it will _only_ find code in
modules/*/*/modinfo.txt, while it would be much better to allow for
arbitrary nestings under modules (find modules -name modinfo.txt)
for more complicated setups.
This 'new' (OMG I've found directories!) structure allows for a more free
naming convention (no need for leading es_, ml_, etc to group names, though
some keep it for lack of a more meaningful name being obvious to me right
at the moment).
|
| |
|
| |
|
|
|
|
| |
obvious what is/is not being used.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
and Linux/x86-64 (if /proc/cpuinfo and uname fail)
|
|
|
|
|
|
|
| |
the CPU type, however currently every OS has it set to 'all'. And since
instead it seems I need to specialize on compiler, I've changed
supports_shared to set that, and also changed the Windows config so it
only attempts a DLL build with Visual Studio.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
automatically generated, along with the time, the command line arguments,
the target compiler/CPU, and the enabled modules.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
which is pretty unfriendly. Die with an error instead.
|
|
|
|
|
|
| |
OS/arch/compiler restrictions on the required module, only on the requiree.
Since normally the required module will use a subset of the functionality,
that is probably OK, but something to be aware of.
|
|
|
|
| |
and in readme.txt
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
currently existing variables and the first 60 characters of their
values.
Simplify match_any_of - it just uses it's first two arguments and then
matches against the rest, rather than forcing them to be joined into a
single string (that it would just split and iterate over anyway).
Add support for two new compiler config vars, dll_import_flags and
dll_export_flags
When autoconfig prints that it has guessed something, provide the name
of the variable that can be used to override it.
|
|
|
|
|
| |
whatever the current user/group is. If you wish to override, edit the
makefile or override the INSTALL_CMD_* variables on the command line.
|
| |
|
| |
|