Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix various auto generated dependencies that were wrong | lloyd | 2009-07-17 | 8 | -22/+6 |
| | |||||
* | Correct some errors in the automatically generated dependencies. | lloyd | 2009-07-16 | 8 | -7/+3 |
| | |||||
* | Add missing info.txt files | lloyd | 2009-07-16 | 2 | -0/+24 |
| | |||||
* | Correct source listings for moved files | lloyd | 2009-07-16 | 2 | -4/+0 |
| | |||||
* | Move some files around to break up dependencies between directories | lloyd | 2009-07-16 | 32 | -16/+48 |
| | |||||
* | Add a script that reads the output of print_deps.py and rewrites | lloyd | 2009-07-15 | 103 | -328/+583 |
| | | | | | | the info.txt files with the right module dependencies. Apply it across the codebase. | ||||
* | Move the contents of pubkey/pubkey (which was kind of a catch-all to | lloyd | 2009-07-15 | 28 | -18/+6 |
| | | | | | | | just toplevel pubkey). This was a convention I realized made sense sometime on when I was first doing the modularization changes. Move pkcs8.* and x509_key.* to pk_codecs | ||||
* | Add a script that analyzes the source and prints module dependencies. | lloyd | 2009-07-15 | 5 | -35/+109 |
| | | | | | | | | | Useful for tracking where the big balls of mud are. Fix dependencies in gost_3411 (depends on the gost block cipher), and the TLS PRF (depends on HMAC). Also hide TLS_PRF::P_hash in an anonymous namespace instead of making it a private static function. I don't think this will affect binary compat, since it was statically linked. | ||||
* | New module load_on directive 'never', to mark known-buggy code | lloyd | 2009-07-15 | 4 | -2/+5 |
| | |||||
* | Report modules which are not loaded, grouped by the reason why. | lloyd | 2009-07-15 | 1 | -17/+29 |
| | |||||
* | --with-build-dir fixes | lloyd | 2009-07-14 | 1 | -7/+7 |
| | |||||
* | merge of 'cd3b49c6cd609a1c81c7200e127063448f2254b7' | lloyd | 2009-07-14 | 1 | -1/+2 |
|\ | | | | | | | and 'e6d5e12d439e2f149f547f1afe47fea14e7863c2' | ||||
| * | Generate the botan.doxy file in configure.py | lloyd | 2009-07-13 | 1 | -1/+2 |
| | | |||||
* | | Add support for a version suffix, so that botan reports its current version | lloyd | 2009-07-14 | 1 | -29/+32 |
| | | | | | | | | | | | | | | | | as 1.8.5-pre instead of just 1.8.5. This suffix will also be reflected in the shared object soname. Should always be empty for final releases. Also add a --version flag to configure.py to match the one in configure.pl, which prints the current version and exits (same as perl version). | ||||
* | | Also document Skein fix | lloyd | 2009-07-14 | 1 | -0/+1 |
| | | |||||
* | | Document that the test suite returns an error code now | lloyd | 2009-07-14 | 1 | -0/+1 |
| | | |||||
* | | Avoid a crash in Skein_512::add_data if it is called with a zero-length | lloyd | 2009-07-14 | 1 | -0/+3 |
| | | | | | | | | input vector. | ||||
* | | Canonicalize os names (from either uname or --os) against osinfo.aliases; | lloyd | 2009-07-14 | 1 | -2/+12 |
| | | | | | | | | | | noticed by Rickard Bondesson when he tried running configure.py on Solaris, aka SunOS. | ||||
* | | Bump version numbers to 1.8.5-pre | lloyd | 2009-07-14 | 4 | -5/+8 |
| | | |||||
* | | Avoid using optparse's append_const action, as it was only added in the | lloyd | 2009-07-14 | 1 | -7/+21 |
|/ | | | | | python 2.5 standard library. Replace it with a callback, which allows configure.py to run out of the box on python 2.4 | ||||
* | Return the test suite result code from main() | lloyd | 2009-07-12 | 1 | -1/+1 |
| | |||||
* | Return 1 to system if exception is caught in check prog | lloyd | 2009-07-12 | 1 | -0/+2 |
| | |||||
* | Update configure.pl's version #1.8.4 | lloyd | 2009-07-12 | 1 | -1/+1 |
| | |||||
* | Do a 1.8.4 release to fix MR nonce gen bug | lloyd | 2009-07-12 | 3 | -2/+5 |
| | |||||
* | Fix nonce generation of Miller-Rabin test | lloyd | 2009-07-12 | 1 | -1/+1 |
| | |||||
* | Update readme and logfile for 1.8.3 release1.8.3 | lloyd | 2009-07-11 | 2 | -2/+2 |
| | |||||
* | Remove unnecessary includes of <iostream>; either delete entirely as not | lloyd | 2009-07-11 | 6 | -6/+4 |
| | | | | needed, or replace with <iosfwd> or <ostream> where necessary. | ||||
* | Fix generating primes between 4 and 7 bits. The problem was that when | lloyd | 2009-07-11 | 2 | -18/+23 |
| | | | | | | | | verify mode is not set, by default the Miller-Rabin bases are chosen from the small primes. Generally speaking these make good test bases. However if the prime to be generated is very small, we will choose a base which is out of range. If the i'th prime is too big to be a base, then just choose a random integer of the appropriate size instead. | ||||
* | static_cast a double before returning it as a u32bit to avoid a warning | lloyd | 2009-07-10 | 1 | -1/+1 |
| | | | | with some older versions of gcc | ||||
* | Document fix to random_prime | lloyd | 2009-07-10 | 1 | -0/+1 |
| | |||||
* | Fix some installation problems: the pkg-config and botan-config files | lloyd | 2009-07-10 | 1 | -12/+15 |
| | | | | | | | were not being set to the right path, and the pkg-config file was set with the wrong name. Also build.h was not being installed by the make install target. | ||||
* | Devai Tamas pointed out on the mailing list that random_prime with bits | lloyd | 2009-07-10 | 1 | -3/+3 |
| | | | | | | set to 2, 3, or 4 was not returning a random prime due to reducing the rng output modulo 1 instead of mod 2 in choosing which prime of that size to return. Oops. | ||||
* | Various small code cleanups and slightly better error checking for info files | lloyd | 2009-07-09 | 1 | -16/+22 |
| | |||||
* | Fix symlink generation when combined with --with-build-dir | lloyd | 2009-07-09 | 1 | -42/+48 |
| | |||||
* | Deal with the case where platform.processor() returns the empty string, | lloyd | 2009-07-09 | 1 | -15/+12 |
| | | | | | | which it is documented to do in some situations. Use a list comprehension instead of an explicit loop in choose_modules_to_use | ||||
* | Don't recommend SHA-1 for new applications. | lloyd | 2009-07-08 | 1 | -30/+33 |
| | | | | Also change some examples using SHA-1 to use SHA-256 instead. | ||||
* | Someone commented that they were using Blowfish because "No particular | lloyd | 2009-07-08 | 1 | -94/+93 |
| | | | | | | | reason but it was used in the tutorial." - it should have occured to me to change this a while ago. Switch to Serpent instead of Blowfish, and also replace most uses of SHA-1 with SHA-256 since SHA-1 is pretty broke these days. | ||||
* | Various small code cleanups | lloyd | 2009-07-08 | 1 | -13/+14 |
| | |||||
* | Use a single regexp combined with | instead of three distinct searches | lloyd | 2009-07-08 | 1 | -3/+3 |
| | |||||
* | In configure.py, check against the gcc version and toggle -fpermissive | lloyd | 2009-07-08 | 1 | -1/+29 |
| | | | | if needed | ||||
* | Also match GCC 4.4 for -fpermissive checks | lloyd | 2009-07-08 | 1 | -1/+1 |
| | |||||
* | Correct detection of GCC 2.95 for setting -fpermissive. This had been | lloyd | 2009-07-08 | 1 | -1/+1 |
| | | | | | wrong for a while, which suggests perhaps that 2.95 has finally died out in the wild. Praise be. | ||||
* | Some modules using asm were not marked with 'load_on asm_ok'; fix | lloyd | 2009-07-07 | 3 | -3/+3 |
| | |||||
* | Make default logging INFO rather than DEBUG | lloyd | 2009-07-07 | 1 | -1/+1 |
| | |||||
* | CPU-specific engines are now only loaded if something depends on them, | lloyd | 2009-07-07 | 9 | -11/+9 |
| | | | | | | | | | | | | and all CPU-specific implementations now depend on the appropriate engine module. The most common problem before with this was that the SSE2 module was built, but the sole SSE2 code (SHA-1) was not (for instance, on an i686). This would cause a compile warning about the unused request object. Preventing unused engines from being built will also (very slightly) speed up the lookup process on most system. | ||||
* | Cosmetic makefile generation stuff | lloyd | 2009-07-07 | 1 | -31/+57 |
| | | | | | | | | | | Detect Jython; autodetection via platform does not work here, so tell the user they have to use --os and --cpu to set the target. Other than that Jython 2.5 seems to handle things nicely. Detect invalid settings for --with-endian during option parsing. Wrap some long lines for readability. | ||||
* | More logging in configure.py | lloyd | 2009-07-07 | 1 | -15/+24 |
| | |||||
* | Fix out of tree builds | lloyd | 2009-07-07 | 1 | -21/+20 |
| | |||||
* | Clean up submodel guessing, and use the longest-match-first trick. | lloyd | 2009-07-07 | 1 | -21/+21 |
| | | | | Use Python's logging module instead of print for autoconfig output. | ||||
* | If guess_processor() fails and just reutrns the base proc (platform.machine()), | lloyd | 2009-07-07 | 1 | -1/+1 |
| | | | | | first run that through canon_processor() to make sure we get a valid arch and submodel pairing. |