Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename template variable cc -> cxx | Simon Warta | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | Make release/debug versions for: compile_flags, lib_opt_flags and app_opt_flags | Simon Warta | 2015-07-21 | 1 | -10/+21 |
| | | | | | | This commit aims to preserve all settings. In some cases it will drop optimization flags and fall back to compiler's defaults in the new debug mode. | ||||
* | Tie static build check to --via-amalgamation, not --gen-amalgamation | Simon Warta | 2015-07-19 | 1 | -1/+1 |
| | | | | | | --gen-amalgamation does not use amalgamation in the Makefile [ci skip] | ||||
* | Make internal headers available for tests (amalgamation) | Simon Warta | 2015-07-15 | 1 | -4/+3 |
| | |||||
* | Force amalgamation in static build | Simon Warta | 2015-07-13 | 1 | -0/+4 |
| | | | | Closes #128. | ||||
* | Exit configure script with return value 1 on error | Simon Warta | 2015-07-12 | 1 | -4/+13 |
| | |||||
* | Remove dead code (Boost.Python makefile, unused configure.py functions) | Jack Lloyd | 2015-07-11 | 1 | -13/+0 |
| | |||||
* | Make sanitizer a build mode for easy use by developers. | Jack Lloyd | 2015-07-05 | 1 | -3/+8 |
| | |||||
* | Rename variable with_shared_lib -> build_shared_lib | Simon Warta | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | Dont run install_name_tool when lib is statically linked | Simon Warta | 2015-07-01 | 1 | -1/+1 |
| | |||||
* | Fix include handling in amalgamation | Simon Warta | 2015-07-01 | 1 | -16/+19 |
| | | | | Includes must be unique per .cpp file, not globally. Fixes #105 | ||||
* | Add optparse choices parameter to detect config errors nice and early | Simon Warta | 2015-06-24 | 1 | -2/+6 |
| | |||||
* | Use install_name_tool to change location of botan lib on OSX | Simon Warta | 2015-06-22 | 1 | -0/+7 |
| | |||||
* | Set RPATH to $ORIGIN for ./botan and ./botan-test | Simon Warta | 2015-06-22 | 1 | -1/+3 |
| | | | | | | | | This makes setting LD_LIBRARY_PATH obsolete when Botan lib and botan /botan-test binary are in the same directory. This behavior is default on Windows. LD_LIBRARY_PATH can still be used to override the RPATH. | ||||
* | Fix coverage make target | Simon Warta | 2015-06-21 | 1 | -0/+1 |
| | |||||
* | Prefix gmake includes | Simon Warta | 2015-06-20 | 1 | -8/+6 |
| | |||||
* | Update build system: | simon | 2015-06-18 | 1 | -1/+3 |
| | | | | | | | | | | | | | - Remove unused make variables VERSION, BRANCH - Move first make all target below all variable definitions - Move "Executable targets" as well as "LIBNAME" from header.in into gmake.in and nmake.in. Those variables differ more than they share and are getting too abstract. - Use new variable names: LIB_BASENAME, LIB_FILENAME. Drop LIBNAME and BOTAN_LIB - Write libs to out_dir now, which enables out-of-tree builds GH #110, replaces #70 #106 #107 fixes #85 | ||||
* | Fix --disable-aes-ni flag which did not disable AES-NI. Reported on | lloyd | 2015-06-03 | 1 | -1/+1 |
| | | | | the mailing list. | ||||
* | Add .exe suffix to MinGW and Cygwin binaries also | lloyd | 2015-04-27 | 1 | -1/+2 |
| | |||||
* | Remove the stray binary character making Python3 unhappy, remove | lloyd | 2015-04-12 | 1 | -9/+4 |
| | | | | encoding= flags since they are not needed anymore and broke Python2. | ||||
* | Add back --debug-mode | lloyd | 2015-04-12 | 1 | -1/+5 |
| | |||||
* | Remove notice loglevel as logging.addLevelName is broken in Python3 | lloyd | 2015-04-12 | 1 | -9/+5 |
| | | | | | Read and write the amalgamation as latin1 so python3 treats it as just bits instead of invalid UTF8 | ||||
* | Add coverage checking with gcov/lcov | lloyd | 2015-04-12 | 1 | -34/+33 |
| | |||||
* | Fix the makefile for JOM | simon | 2015-03-18 | 1 | -1/+2 |
| | | | | | | JOM is a nmake-compatible tool for Windows which supports -jN for parallel builds. JOM's $? variable is broken, but this workaround is simple. Github pull 66 from Simon Warta. | ||||
* | Github pull 65, Use Clang on OS X when present | cordney | 2015-03-15 | 1 | -0/+3 |
| | |||||
* | Get the ordering of operations correct in the build. | lloyd | 2015-03-15 | 1 | -273/+232 |
| | | | | | | If we're building via amalgamation then we need to edit what goes into the makefile. That requires the amalgamation run before the makefile since we don't know how many files there will be until we do the scan. | ||||
* | Move the amalgamation generation to later in the build process so | lloyd | 2015-03-10 | 1 | -3/+3 |
| | | | | | build.h exists. Otherwise an amalg build with a clean working dir will fail because build.h is not found. Github issue 57. | ||||
* | Add option to generate single amalgamation file. | lloyd | 2015-02-28 | 1 | -25/+29 |
| | |||||
* | Split amalagamation into ISA specific objects | lloyd | 2015-02-22 | 1 | -37/+63 |
| | |||||
* | Hide all uses of boost filesystem in fs.cpp. Use readdir as an | lloyd | 2015-02-21 | 1 | -5/+16 |
| | | | | | alternate implementation for Unix and add some feature checks so a boost-free build of the tests and command line are possible again. | ||||
* | Add new module `ffi` which provides a plain C interface, plus a new | lloyd | 2015-02-16 | 1 | -35/+12 |
| | | | | | | | | | | | | ctypes Python wrapper that uses it. The API is intentionally designed to have a very simple ABI (extern "C", all structs are opaque, no memory ownership passing the FFI boundary, limited set of simple types as args) so the ctypes wrapper is quite simple. Currently ffi provides ciphers, hashes, MACs, RNGs, PBKDF, KDF, bcrypt, and most public key operations. Remove the old boost.python wrapper and all the build code for it. | ||||
* | Mark modules pulling in external deps (zlib, boost, etc) as such, and | lloyd | 2015-02-06 | 1 | -19/+25 |
| | | | | | | notify the user when they are enabled. Drop botan-config, replaced by `botan config` command added in 1.11.8 | ||||
* | Enable OpenSSL for providing ciphers and hashes again. | lloyd | 2015-02-05 | 1 | -1/+1 |
| | |||||
* | Remove algo factory, engines, global RNG, global state, etc. | lloyd | 2015-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Convert all uses of Algorithm_Factory and the engines to using Algo_Registry The shared pool of entropy sources remains but is moved to EntropySource. With that and few remaining initializations (default OIDs and aliases) moved elsewhere, the global state is empty and init and shutdown are no-ops. Remove almost all of the headers and code for handling the global state, except LibraryInitializer which remains as a compatability stub. Update seeding for blinding so only one hacky almost-global RNG instance needs to be setup instead of across all pubkey uses (it uses either the system RNG or an AutoSeeded_RNG if the system RNG is not available). | ||||
* | Amalgamation fixes | lloyd | 2015-01-23 | 1 | -3/+2 |
| | |||||
* | Fix string formatting | lloyd | 2015-01-12 | 1 | -1/+1 |
| | |||||
* | Fixes for Windows paths. Based on Github pull 41 from cdesjardins | git | 2015-01-11 | 1 | -3/+5 |
| | | | | with some modifications by randombit. | ||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 1 | -2/+2 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Handle malformed info.txt file | lloyd | 2014-12-29 | 1 | -0/+2 |
| | |||||
* | Implement RFC 6979 determinstic signatures for DSA and ECDSA. | lloyd | 2014-12-10 | 1 | -2/+5 |
| | | | | | Drop the GNU MP engine. Its implementations were potentially faster in some scenarios but not well protected against side channels. | ||||
* | Add --with-everything option | lloyd | 2014-12-06 | 1 | -1/+7 |
| | |||||
* | Add a new Python install script and clean up the makefile templates | lloyd | 2014-11-12 | 1 | -21/+22 |
| | |||||
* | Various small fixes and cleanups, new is_prime util | lloyd | 2014-11-03 | 1 | -2/+1 |
| | |||||
* | Windows/VC build fixes | lloyd | 2014-10-31 | 1 | -12/+13 |
| | |||||
* | Support restricting compiler ISAs to specific architectures. Specifically | lloyd | 2014-05-01 | 1 | -7/+16 |
| | | | | | to work around weird MSVC limitations in 32-bit mode, but maybe useful elsewhere someday. Github #11. | ||||
* | Add --program-suffix option to configure | lloyd | 2014-03-22 | 1 | -6/+10 |
| | |||||
* | Add --destdir option to configure.py | lloyd | 2014-02-13 | 1 | -1/+5 |
| | |||||
* | Ignore editor temp files when looking for sources | lloyd | 2014-02-13 | 1 | -2/+1 |
| | |||||
* | Cleaner abi flag gen | lloyd | 2014-02-09 | 1 | -3/+5 |
| | |||||
* | Fix compiler ABI flags | lloyd | 2014-02-09 | 1 | -1/+1 |
| |