Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #1219 Implement System_RNG on macOS/iOS using arc4random | Jack Lloyd | 2017-09-21 | 2 | -4/+6 |
|\ | |||||
| * | Supposedly iOS has arc4random, so maybe this works... | Jack Lloyd | 2017-09-21 | 2 | -4/+6 |
| | | |||||
* | | Update build policies | Jack Lloyd | 2017-09-21 | 2 | -0/+12 |
|/ | |||||
* | Improve support for IBM XLC | Jack Lloyd | 2017-09-21 | 1 | -6/+8 |
| | | | | | A uint128 type is available but is apparently broken, causes problems with x25519 | ||||
* | Fix Doxygen config | Jack Lloyd | 2017-09-20 | 1 | -2/+5 |
| | | | | It got confused by BOTAN_PUBLIC_API macro | ||||
* | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 1 | -2/+2 |
| | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | Reflect -fstack-protector and related flags in `botan config ldflags` | Jack Lloyd | 2017-09-19 | 1 | -0/+1 |
| | | | | | | GH #863 [ci skip] | ||||
* | Load botan_version.py as a file instead of as module import | Jack Lloyd | 2017-09-19 | 2 | -223/+0 |
| | | | | Really no reason for this to be arbitrary code | ||||
* | Be less forgiving in maintainer mode | Jack Lloyd | 2017-09-17 | 2 | -2/+2 |
| | |||||
* | Script the Windows CI build | Jack Lloyd | 2017-09-08 | 2 | -3/+6 |
| | |||||
* | Exclude build/* from Sonar analysis | Jack Lloyd | 2017-09-07 | 1 | -0/+2 |
| | | | | Otherwise it marks all of our header files as 'duplicates' ... | ||||
* | Refactor RNGs to support Windows Phone | Jack Lloyd | 2017-09-02 | 5 | -10/+32 |
| | | | | | | | | | | | | | | | | | | | This OS has its own crypto API and does not support CryptGenRandom. Splits System_RNG_Impl into distinct declarations one per implementation type. Easier to read now that we are up to 4 distinct versions. Removes the CryptoAPI entropy source, and replaces it with an entropy source that calls the system RNG. This is nominally a bit less flexible in that the entropy source allowed polling multiple providers (though we didn't actually make use of that). Plus side is it works on all systems. Currently the dev_random entropy source is still there because we do actually use it to poll both /dev/random and /dev/urandom, and it might be useful (on certain systems) to also poll a HW RNG, which are often assigned their own device node. This could debatably also be removed in favor of just reading the system RNG. | ||||
* | Sort isa_extensions lists [ci skip] | Simon Warta | 2017-09-02 | 4 | -14/+11 |
| | | | | this removes the duplicate "sha" in x86_64 | ||||
* | Change http://botan.randombit.net to https URIs | Jack Lloyd | 2017-09-01 | 1 | -1/+1 |
| | | | | | | Not a big deal since the site already uses HSTS, but whatever. [ci skip] | ||||
* | Add support for fuzzing with KLEE | Jack Lloyd | 2017-08-30 | 1 | -2/+2 |
| | | | | | | For the fuzzers, builds an object and then links in a second step, because we need that to link the fuzzer binaries for LLVM. (Clang will emit bitcode for us, but doesn't want to link it.) | ||||
* | Add support for LLVM bitcode target | Jack Lloyd | 2017-08-30 | 6 | -13/+17 |
| | |||||
* | Try to get Sonar to look at header files | Jack Lloyd | 2017-08-29 | 1 | -1/+2 |
| | |||||
* | Rename (and fix) Sonar target | Jack Lloyd | 2017-08-29 | 1 | -4/+4 |
| | |||||
* | Further fixes to ci build script | Jack Lloyd | 2017-08-29 | 1 | -1/+3 |
| | |||||
* | Merge GH #1158 Add build mode for fuzzer tests | Jack Lloyd | 2017-08-29 | 3 | -0/+21 |
|\ | |||||
| * | Create new fuzzer build mode | Jack Lloyd | 2017-08-25 | 3 | -0/+21 |
| | | |||||
* | | Fix Doxygen build [ci skip] | Jack Lloyd | 2017-08-27 | 1 | -1/+4 |
| | | |||||
* | | Add compatibility comment for getauxval on Android | Simon Warta | 2017-08-27 | 1 | -0/+2 |
|/ | |||||
* | Add http_util to module policies (GH #1109) | René Korthaus | 2017-08-07 | 3 | -0/+3 |
| | | | | | | http_util is required by the x509 module to perform online OCSP checks, which should be defaulted to ON. Without being part of the policy, it would be disabled. | ||||
* | Merge GH #1139 Replace --destdir flag with DESTDIR env variable | Jack Lloyd | 2017-08-07 | 3 | -3/+3 |
|\ | |||||
| * | Turn --destdir option into an environment variable, fixes #1101, fixes #996, ↵ | Zoltan Gyarmati | 2017-08-04 | 3 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | supersedes #997 This commit removes the (broken) --destdir command line option and introduces the DESTDIR environment variable for the 'make install' target. When it's set, the installation will take place in the DESTDIR directory, under the prefix set by --prefix, with all of the internal references (pkgconfig file, etc) containing only the prefix. This behavior is more standard (as in autotools and co.), so makes packaging easier. Based on work of danimo and zgyarmati | ||||
* | | Merge GH #1138 Add support for Windows sockets in http_util and TLS command ↵ | Jack Lloyd | 2017-08-07 | 1 | -0/+1 |
|\ \ | | | | | | | | | | line utils | ||||
| * | | Add support for Windows sockets to http_util | René Korthaus | 2017-08-04 | 1 | -0/+1 |
| |/ | | | | | | | | | | | Based on the work by @slicer4ever, adds support for Windows sockets to http_util. As a bonus, we get Windows support for tls_client and tls_server CLI. | ||||
* / | Add Streebog hash (GOST R 34.11-2012). | Daniel Wyatt | 2017-08-04 | 3 | -0/+5 |
|/ | |||||
* | Add ChaCha_RNG | Jack Lloyd | 2017-07-31 | 2 | -0/+6 |
| | |||||
* | Merge GH #1133 Fix MSVC compiler detection fixing #1125 | Jack Lloyd | 2017-07-31 | 1 | -0/+8 |
|\ | |||||
| * | Use _MSC_VER to get MSVC version | Simon Warta | 2017-07-30 | 1 | -0/+8 |
| | | |||||
* | | Fix warnings from clangs -Wdocumentation flag | Jack Lloyd | 2017-07-28 | 1 | -1/+1 |
|/ | |||||
* | Update modern and nist policies with recent additions | Jack Lloyd | 2017-06-30 | 2 | -0/+20 |
| | |||||
* | Merge GH #1082 Add support for SM2 signature scheme | Jack Lloyd | 2017-06-30 | 2 | -0/+7 |
|\ | |||||
| * | Add SM2 signature scheme | Jack Lloyd | 2017-06-29 | 2 | -0/+8 |
| | | | | | | | | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc). | ||||
* | | Update BSI module policy | René Korthaus | 2017-06-30 | 1 | -0/+3 |
|/ | | | | | Prohibit SM4 block cipher, ed25519 signature scheme and NIST SP800-56A KDF. | ||||
* | Moved to draft-ietf-curdle-pkix assigned OIDs | Francis Dupont | 2017-06-12 | 1 | -2/+2 |
| | |||||
* | Enable Ed25519 in 'modern' policy | Jack Lloyd | 2017-06-09 | 1 | -0/+1 |
| | |||||
* | Add Ed25519 key type and tests | Jack Lloyd | 2017-06-07 | 1 | -0/+1 |
| | | | | This work was sponsored by Ribose Inc | ||||
* | Merge GH #826 Add support for Intel SHA instructions | Jack Lloyd | 2017-05-19 | 1 | -0/+1 |
|\ | |||||
| * | Add support for Intel SHA-1/SHA-2 instructions | Jack Lloyd | 2017-05-19 | 1 | -0/+1 |
| | | | | | | | | Based on GH #807 and #808 | ||||
* | | Add SM3 OIDs and PKCSv1.5 hash prefix | Jack Lloyd | 2017-05-19 | 1 | -0/+3 |
|/ | |||||
* | Make template variable misc_config more specific | Simon Warta | 2017-04-18 | 1 | -1/+1 |
| | |||||
* | Merge GH #966 Add SM3 hash function | Jack Lloyd | 2017-04-05 | 2 | -0/+2 |
|\ | |||||
| * | Update BSI and NIST policies to prohibit SM3 hash. | Daniel Wyatt | 2017-04-03 | 2 | -0/+2 |
| | | |||||
* | | configure: encode submodel prefix into single value | Simon Warta | 2017-04-04 | 2 | -11/+11 |
| | | | | | | | | to reuse dictionary parsing | ||||
* | | Merge GH #940 Add flags for MSVC for code size optimization | Jack Lloyd | 2017-04-04 | 1 | -2/+2 |
|\ \ | |/ |/| | |||||
| * | Add some MSVC compiler flags | Daniel Neus | 2017-04-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | /Oi enabled in release builds: generates intrinsic functions for appropriate function calls https://msdn.microsoft.com/en-us/library/f99tchzc.aspx /Os if `--optimize-for-size` is used: tells the compiler to favor optimizations for size over optimizations for speed https://msdn.microsoft.com/en-us/library/f9534wye.aspx | ||||
* | | Use arc4random(3) as system rng on OpenBSD. | Alexander Bluhm | 2017-03-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | OpenBSD provides the arc4random(3) function in libc for user land programs that need good random data. Use this to implement the Botan system random number generator. It has the advantage over /dev/urandom that it works without file descriptors and in chroot(2) environment. Internally libc is currently using a ChaCha20 cipher as PRNG and getentropy(2) to reseed itself automatically. |