aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make IDEA::mul_inv just a function in an anonymous namespace, since it reallylloyd2007-11-112-39/+36
| | | | had no reason/need to be a class method.
* Remove some static_casts that weren't required and didn't do much to makelloyd2007-11-111-11/+11
| | | | the code more readable/explicit either.
* Have IDEA's mul() return the result instead of altering a reference value.lloyd2007-11-111-13/+25
| | | | | | Split up some lines for readability. Benchmarks somewhat slower than the previous version (34.3 vs 32.0 on my Core2, gcc 4.1.2), will need to investigate.
* Add /Zi to debug flags for Visual Studiolloyd2007-11-111-1/+1
|
* Prevent lines > 80 columnslloyd2007-11-111-1/+1
|
* Document the --no-asm optionlloyd2007-10-241-12/+15
| | | | | | | | | | Wrap lines a little tighter in the output of --help Change the order of checks so we don't display that a module was not used due to use of --no-asm when in fact the module would not run on the target CPU anyway. Similiarly don't say "loaded only on request" if it is incompatible with the target, since someone attempting to actually load the module would immediately get an error.
* Fix flags for Core2 optimizations with Intel C++lloyd2007-10-231-1/+1
|
* Malloc_Allocator doesn't have a constructor anymore but the declarationlloyd2007-10-231-2/+0
| | | | remained, which caused link errors. Removed.
* merge of '27e4f97cd587d56d2fb2f7819f2d1117565a7f28'lloyd2007-10-231-5/+5
|\ | | | | | | and '3b5a05478d1cfb7d4b10501d965228feae5b6dfa'
| * Sort lines in .mtn-ignorelloyd2007-10-231-5/+5
| |
* | Switch the order of tests on constraints on modules to CPU, then OS, thenlloyd2007-10-231-9/+9
|/ | | | | compiler. That tends to give the most useful diagnostic output, since CPU restrictions are the most common in modules.
* Document some of the other major changes since 1.7.2lloyd2007-10-221-2/+6
|
* Change the syntax from load_on: to load_on (since that way configure.pl canlloyd2007-10-2228-161/+173
| | | | | | | | | | | use the generic variable reading routines). Instead of hardcoding the module sets (historically, 'unix', 'beos', and 'win32') into the script, have each module specify which group(s) (if any) it should be considered a member of in its modinfo.txt file. Add a new module set compression which contains (currently) the zlib and bzip2 modules.
* Ignore .pem files in doc/exampleslloyd2007-10-211-0/+1
|
* Have Malloc_Allocator directly inherit from the Allocator interface, withoutlloyd2007-10-212-7/+8
| | | | | | | | | using the infrastructure in Pooling_Allocator. Using malloc directly is slightly faster than using Botan's memory pools (using the glibc implementation). It may also reduce internal fragmentation, since the current Pooling_Allocator design is rather suboptimal in that regard.
* Add new options to configure.pl:lloyd2007-10-211-33/+105
| | | | | | | | | | | | | --endian=(little|big|none): control processor endianness and override a default, eg so you can configure for a big-endian Alpha. Use none to prevent any macros. --unaligned-mem=(yes|no): control if the unaligned memory macro will be enabled. Currently this has no effect but there are coming optimizations which may use it. --arch-info=<name>: Print some information about that CPU (submodel names, endian defaults, etc).
* Build Alpha as little-endian by default.lloyd2007-10-211-0/+1
|
* Make i686 the x86 default CPU (used if the user just says 'x86' or equivalent)lloyd2007-10-211-1/+1
|
* Document changes so far for 1.7.3 in the log. Bump the version in configure.pllloyd2007-10-213-3/+8
|
* Move reverse_bytes from bit_ops.h to bit_ops.cpplloyd2007-10-212-19/+33
|
* Remove useless commentlloyd2007-10-211-5/+1
|
* Add an option --quiet which will disable the messages caused whenlloyd2007-10-211-6/+21
| | | | the script is guessing things.
* Fix --modules, the value was getting lost.lloyd2007-10-211-4/+5
| | | | | Don't warn about modules that are only loaded on request when they in fact have been requested.
* Report which modules are not being loaded and why when doing autoconfig.lloyd2007-10-211-12/+30
|
* Remove the checks that the compiler specified works on the given OS/CPU.lloyd2007-10-2127-270/+3
| | | | | All too often this information gets out of of date, so trust the user is specifying something that makes sense if they use --cc, --cpu, or --os.
* Update build instructions with the new sytnax for configure.pllloyd2007-10-211-41/+31
|
* Use new options for ICC 10.0lloyd2007-10-211-6/+6
|
* Avoid a warning if no arguments are passed for moduleslloyd2007-10-211-0/+2
|
* Intel C++ looks to prefer icpc instead of icc (in order to get the thelloyd2007-10-201-2/+2
| | | | runtime linked in). Also, -KPIC has been disfavored, replaced by -fPIC.
* Don't use -fpermissive on 64-bit systems (arch matching alpha or *64),lloyd2007-10-201-20/+19
| | | | | since we only need it because of that stupid GCC long long warning, and that doesn't show up on 64-bit machines.
* Rename the option in configure.pl named --disable-shared to --no-sharedlloyd2007-10-201-2/+2
|
* Make the output of --help (perhaps) more helpful by organizing options bylloyd2007-10-201-42/+48
| | | | | | purpose. Relevant information is moved closer to the option description, for instance the help line for the --cc option also includes the list of known compilers.
* Drop using cc-os-cpu as a single argument. Instead the user can specifylloyd2007-10-201-21/+28
| | | | | each individually with --cc, --os, and --cpu. Any that are not specified on the command line are guessed via the old autoconfiguration logic.
* Make mswin32 an alias for Windows so we will detect it by comparing itlloyd2007-10-201-0/+1
| | | | with Perl's $^O
* Compare the value of $^O to names we know about in the hash, rather thanlloyd2007-10-201-18/+16
| | | | hardcoding them into that function.
* Revert the last change since 'cc' was already used as a key for the compilerlloyd2007-10-201-111/+105
| | | | | | | | binary name, which caused the obvious conflicts. Spit guess_triple into three independent functions. Make the guessing of OS depend much more on Perl's $^O variable; only fall back if that is not recognized.
* Use 'cc' instead of 'compiler' as the key for the compiler name in the configlloyd2007-10-201-6/+6
|
* Have the ca example take all filenames as arguments instead of hardcoding.lloyd2007-10-201-10/+18
|
* Print the IPv4 address, DNS name, or URL included in the subject orlloyd2007-10-201-0/+6
| | | | issuer alternative names.
* sha160.cpp needs include of bit_ops.h, problem was masked by the asm versionslloyd2007-10-191-0/+1
| | | | when I was testing on x86 and x86-64 machines.
* Wrap lines in pk_bench and passhash to keep them under 80 columns.lloyd2007-10-192-5/+6
|
* Remove several uses of old style C casts in favor of C++98's static_cast and lloyd2007-10-195-10/+17
| | | | reinterpret_cast
* Fix the alg_ia32 module code WRT the recent changes to loadstor.h not beinglloyd2007-10-194-4/+4
| | | | included by bit_ops.h
* bit_ops.h no longer includes loadstor.hlloyd2007-10-1956-34/+78
| | | | | | | | | Where loadstor.h was needed but only implicitly included via bit_ops.h, include it directly Add endian reversal functions to bit_ops.h Remove some unneeded includes in big_ops2.cpp and a few other files.
* Mark both 32 and 64 bit PowerPC as big endian. Both have little endianlloyd2007-10-192-0/+4
| | | | variants but AFAIK they are quite rare or perhaps completely extinct now.
* Mark x86 and x86-64 as supporting unaligned memory accesseslloyd2007-10-192-0/+2
|
* Add a new build-time macro BOTAN_TARGET_UNALIGNED_LOADSTOR_OK which islloyd2007-10-191-2/+13
| | | | | 0 or 1 depending on if the target CPU can handle an unaligned read or write. This will be true on x86 and x86-64 (are there others?)
* Fold an XOR operation that was happening during SEED encryption/decryption tolloyd2007-10-191-6/+6
| | | | | occur inside the key schedule instead. This should lead to (slightly) better scheduling in the compiled code by reducing the length of a critical path.
* Don't hard code any directories to search for programs into es_unix.lloyd2007-10-192-7/+2
| | | | | | | All are now specified through the config. The new default is just /bin, /sbin, /usr/bin, and /usr/sbin. Formerly /usr/ucb, /usr/etc, and /etc were also searched. If you want this behavior again you have to explicitly set the rng/unix_path configuration setting.
* Add stats of '/', '/tmp', '.', and '..' to the es_unix fast poll.lloyd2007-10-191-1/+12
| | | | Use u32bit instead of uint32_t