Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Many updates for the CMS code to bring up to date with current API | lloyd | 2008-09-30 | 3 | -43/+72 |
| | |||||
* | Remove needless options | lloyd | 2008-09-30 | 1 | -8/+2 |
| | |||||
* | Remove noisy print statement | lloyd | 2008-09-30 | 1 | -1/+0 |
| | |||||
* | If a module specifies <module_name>:<file> in its <add> block, include | lloyd | 2008-09-30 | 3 | -4/+20 |
| | | | | | | that file from another module (without loading it). This was needed since mp_asm64 and mp_ia32_msvc do not implement both mp_asm.h and mp_asmi.h like the other mp_ modules - instead they pull the mp_generic version in. | ||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2008-09-30 | 1 | -2/+2 |
|\ | | | | | | | | | | | cac1d5844682545625a478a31c503e5d6a8f7845) to branch 'net.randombit.botan.modularized' (head ba38f37ccb4ad93becf3c27c321b09d99846f95a) | ||||
| * | Correct declaration of Memory_Exhaustion::what to be const and throw(), | lloyd | 2008-09-30 | 1 | -2/+2 |
| | | | | | | | | to match std::exception | ||||
* | | Fix mp_asm64's info.txt | lloyd | 2008-09-30 | 1 | -4/+4 |
| | | |||||
* | | Enable MSVC x86 asm | lloyd | 2008-09-30 | 1 | -1/+1 |
| | | |||||
* | | Also display non-enabled modules in configure output | lloyd | 2008-09-30 | 1 | -8/+20 |
| | | |||||
* | | Rewrite part of the module loading code in configure.pl, now dependencies | lloyd | 2008-09-30 | 12 | -149/+133 |
| | | | | | | | | | | | | seem to be handled correctly (er, at least mostly), and more importantly the asm MPI modules are detected and used correctly (at least on x86-64 and x86). | ||||
* | | Pentium-M also has RDTSC | lloyd | 2008-09-30 | 1 | -1/+1 |
| | | |||||
* | | Add dep on timer_base in core | lloyd | 2008-09-30 | 1 | -0/+1 |
| | | |||||
* | | Remove unneeded include of timers.h | lloyd | 2008-09-30 | 1 | -1/+0 |
| | | |||||
* | | Start trying to get asm BigInt working. Currently does not. Just checking | lloyd | 2008-09-29 | 11 | -89/+152 |
| | | | | | | | | | | | | this in and sync'ing before I take a break. However the info.txts are now cleaned up and more or less accurate now. But configure.pl is not tracking dependencies properly. | ||||
* | | Escape newline in macro | lloyd | 2008-09-29 | 1 | -2/+2 |
| | | |||||
* | | Set a preprocessor flag if we think the compiler supports GCC-style | lloyd | 2008-09-29 | 2 | -2/+12 |
| | | | | | | | | | | | | | | | | inline asm (currently, if __GNUG__ is defined, which works with both GNU C++ and Intel C++, which are the only two compilers I know of that accept GCC's inline asm syntax). Use that in bswap.h - previously we would try to use inline asm even with VC++ or other compilers not supporting inline asm. | ||||
* | | Cleanup | lloyd | 2008-09-29 | 1 | -2/+1 |
| | | |||||
* | | Drop empty directories | lloyd | 2008-09-29 | 0 | -0/+0 |
| | | |||||
* | | Use bswapl on 32-bit x86 as well | lloyd | 2008-09-29 | 1 | -1/+1 |
| | | |||||
* | | Merge the 3 mlocks (ml_unix, ml_win32, stub mlock.cpp) into a single mlock.cpp | lloyd | 2008-09-29 | 12 | -119/+71 |
| | | | | | | | | | | | | in utils. Support OS feature macros, eg BOTAN_TARGET_OS_HAS_POSIX_MLOCK (how very autoconf) | ||||
* | | Fix build.h modules list | lloyd | 2008-09-29 | 1 | -1/+1 |
| | | |||||
* | | Directly inline x86-64 asm into bswap.h | lloyd | 2008-09-29 | 2 | -38/+12 |
| | | |||||
* | | Derive x86, x86-64, and SSE2 implementations of SHA-1 directly from SHA_160 | lloyd | 2008-09-29 | 11 | -106/+27 |
| | | |||||
* | | Derive the x86 assembly implementations of MD4, MD5, and Serpent from | lloyd | 2008-09-29 | 9 | -74/+10 |
| | | | | | | | | | | | | | | | | | | | | the normal Botan base classes. This required making data members of MD4, MD5, and Serpent protected rather than private, which is not very good style IMO. On the other hand it allows for removing a bit of duplicated code, and also has the nice effect that a pointer to a Serpent_IA32 can be used right as a Serpent object, which makes sense anyway since they implement the same algorithm. The C++ files in the *_ia32 modules are now simply hooks between the virtual function call runtime and the assembly code. | ||||
* | | Reorg BigInt asm modules | lloyd | 2008-09-29 | 6 | -0/+0 |
| | | |||||
* | | Remove the misc dir: | lloyd | 2008-09-29 | 579 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | Moved XS, Boost Python, and SWIG wrappers to new toplevel directory 'wrappers' Moved NIST X.509 test suite into checks directory Move the build information used by configure.pl to src/build-data Move scripts directory to doc (for lack of a better spot) | ||||
* | | Move gtk+ example to doc/examples | lloyd | 2008-09-29 | 5 | -0/+0 |
| | | |||||
* | | In build_cmds, push onto a list and join the strings at the end | lloyd | 2008-09-29 | 1 | -6/+5 |
| | | |||||
* | | Add missing files | lloyd | 2008-09-29 | 2 | -0/+80 |
| | | |||||
* | | Updates to Boost.Python wrapper for 1.7.14. RSA disabled, needs RNG | lloyd | 2008-09-29 | 5 | -3/+28 |
| | | |||||
* | | Move KDF, EME, and EMSA base classes from pubkey to core to remove a | lloyd | 2008-09-29 | 24 | -125/+81 |
| | | | | | | | | false dependency on BigInt in the KDF/padding code. | ||||
* | | Better dependency handling | lloyd | 2008-09-29 | 8 | -30/+47 |
| | | |||||
* | | Add missing divide.h | lloyd | 2008-09-29 | 1 | -0/+17 |
| | | |||||
* | | Fix display of loaded modules | lloyd | 2008-09-29 | 1 | -5/+9 |
| | | |||||
* | | Fix loading issues | lloyd | 2008-09-29 | 5 | -2/+8 |
| | | |||||
* | | Quieter | lloyd | 2008-09-29 | 1 | -1/+1 |
| | | |||||
* | | load_on request, not load_on required (though it had the same effect) | lloyd | 2008-09-29 | 2 | -2/+2 |
| | | |||||
* | | Don't load deps of a module that we won't load | lloyd | 2008-09-29 | 1 | -6/+6 |
| | | |||||
* | | Version bump to 1.7.14 | lloyd | 2008-09-29 | 1 | -1/+1 |
| | | |||||
* | | Add deps on bigint, math modules in PK algos | lloyd | 2008-09-29 | 6 | -0/+12 |
| | | |||||
* | | Put only the implementation of BigInt in src/bigint, mathematical functions | lloyd | 2008-09-29 | 30 | -55/+71 |
| | | | | | | | | | | | | | | on top of BigInt go to src/math. Some prototypes were moved in order to complete the split, in particular random_integer() is now a static member of BigInt instead of being a global function, and divide() is in divide.h instead of numthry.h | ||||
* | | Make asm implementations distinctly named objects, for instance MD5_IA32, | lloyd | 2008-09-29 | 34 | -191/+485 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2008-09-29 | 8 | -6/+14 |
|\| | | | | | | | | | | | ca7d7fc1ae6b55c5328c9cf1ec1cafd1daadedd4) to branch 'net.randombit.botan.modularized' (head 614263a9742a0c554e4093620147f6e156264d41) | ||||
| * | Link to NetSieben and Ajisai in info.txt | lloyd | 2008-09-29 | 1 | -0/+5 |
| | | |||||
| * | Let SHA-1 SSE2 module know that Pentium-M works too | lloyd | 2008-09-28 | 1 | -0/+1 |
| | | |||||
| * | Oops, continue to look in /proc/cpuinfo rather than my home dir | lloyd | 2008-09-28 | 1 | -1/+1 |
| | | |||||
| * | Add support for Pentium-M autodetection and GCC builds. Bug report by | lloyd | 2008-09-28 | 2 | -1/+4 |
| | | | | | | | | Derek Scherger | ||||
| * | Default to very basic platform types for distro builds | lloyd | 2008-09-28 | 5 | -6/+5 |
| | | |||||
* | | Move x509 into cert/ subdir (in prep for InSiTo adding cert/cvc) | lloyd | 2008-09-29 | 24 | -0/+0 |
| | | |||||
* | | Remove todo.txt from .mtn-ignore | lloyd | 2008-09-29 | 1 | -1/+1 |
| | |