Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add prime and dl_group command line tools. | Jack Lloyd | 2015-10-15 | 4 | -14/+177 |
| | | | | | | Some cleanups in random_prime. Increase probability in prime tests from 1/2**64 to 1/2**128. Also break out of the sieve loop early if it has failed. | ||||
* | Prohibit creating a DL_Group smaller than 1024 bits | Jack Lloyd | 2015-10-15 | 2 | -3/+5 |
| | |||||
* | Periodically reinitialize the blinding sequence instead of always | Jack Lloyd | 2015-10-15 | 4 | -19/+66 |
| | | | | deriving it by squaring the previous value. | ||||
* | Add System_RNG which is an instantiatable RNG that uses the system RNG | Jack Lloyd | 2015-10-15 | 3 | -25/+33 |
| | | | | | | Previously you couldn't have an unique_ptr<RNG> that might point to either a system rng or an autoseed rng depending on availability. That was already needed in ffi and is useful elsewhere. | ||||
* | Add support for RSA signing and verification via OpenSSL | Jack Lloyd | 2015-10-14 | 3 | -15/+139 |
| | |||||
* | Expose providers for public key operations | Jack Lloyd | 2015-10-14 | 7 | -67/+97 |
| | | | | | | | | For PK_Encryptor and company they are requested via a new provider param to the constructors. The speed command gets a --provider option so you can see benchmark results with the different versions. | ||||
* | Build fix | Jack Lloyd | 2015-10-14 | 3 | -3/+5 |
| | |||||
* | Add null pointer check to pbes2_decrypt, fix message in pbes2_encrypt | Jack Lloyd | 2015-10-14 | 1 | -1/+3 |
| | |||||
* | Add `--minimized-build` which does the same thing as `--no-autoload` | Jack Lloyd | 2015-10-14 | 4 | -6/+10 |
| | | | | | but the meaning of the option is probably easier to understand with this name. | ||||
* | Move DataSource to utils and rewrite PEM encoding to avoid filters | Jack Lloyd | 2015-10-14 | 12 | -58/+46 |
| | | | | | Removes filters as as an internal dependency pretty much entirely (outside of some dusty corners in misc). | ||||
* | Add missing null pointer check to PBES2 | Jack Lloyd | 2015-10-11 | 1 | -0/+3 |
| | |||||
* | Don't treat missing ciphers, hashes, etc as test failures | Jack Lloyd | 2015-10-11 | 6 | -9/+18 |
| | | | | | Just print an error message and return. Reduces false fails with smaller builds | ||||
* | Tick version on trunk to 1.11.22 | Jack Lloyd | 2015-10-11 | 2 | -1/+5 |
| | |||||
* | Update for 1.11.21 release1.11.21 | Jack Lloyd | 2015-10-11 | 2 | -4/+4 |
| | | | | [ci skip] | ||||
* | Doc updates | Jack Lloyd | 2015-10-05 | 3 | -20/+39 |
| | | | | [ci skip] | ||||
* | Merge pull request #292 from randombit/ffi-certs | Jack Lloyd | 2015-10-04 | 7 | -92/+650 |
|\ | | | | | Expose X.509 certificates and McEliece to C89/Python | ||||
| * | Fix bcrypt test | Jack Lloyd | 2015-10-03 | 3 | -3/+5 |
| | | |||||
| * | Add McEliece keygen and MCEIES to C89 API. Plus random fiddling | Jack Lloyd | 2015-10-01 | 4 | -56/+272 |
| | | |||||
| * | Export X.509 certificates to ffi and python | Jack Lloyd | 2015-10-01 | 5 | -56/+396 |
| | | | | | | | | Missing path validation, probably other things | ||||
* | | Merge pull request #293 from webmaster128/codecov | Simon Warta | 2015-10-04 | 3 | -9/+9 |
|\ \ | | | | | | | Integrate codecov | ||||
| * | | Integrate codecov | Simon Warta | 2015-10-04 | 3 | -9/+9 |
|/ / | | | | | | | Closes #225, #280 | ||||
* / | Show latest master build badge for appveyor CI | Simon Warta | 2015-10-02 | 1 | -1/+1 |
|/ | | | | | | The default badge shows all tested branches. [ci skip] | ||||
* | Update change notes for 1.11.21 | Jack Lloyd | 2015-09-30 | 1 | -0/+18 |
| | | | | [ci skip] | ||||
* | Merge pull request #286 from randombit/mce-cleanup | Jack Lloyd | 2015-09-30 | 36 | -1293/+1410 |
|\ | | | | | Cleanup and document McEliece implementation | ||||
| * | Fix for minimized build | Jack Lloyd | 2015-09-29 | 1 | -0/+8 |
| | | |||||
| * | McEliece cleanups | Jack Lloyd | 2015-09-29 | 36 | -1293/+1402 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove and consolidate various headers Reduce memory usage of GF2m_Field by sharing the log and exponent tables across all instances of a particular word size. Remove McEliece_Public_Operation and McEliece_Private_Operation which were difficult to use safely. Instead only the KEM operations are exposed. Add McEliece_PublicKey::random_plaintext_element Add command line `mce` tool and some McEliece documentation Convert the speed program to check McEliece keys of the suggested size Add McEliece KATs for both key generation and KEM Fix HMAC_DRBG constructor which derefed a pointer before its time | ||||
* | | Merge pull request #288 from tiwoc/darwin_secrandom | Jack Lloyd | 2015-09-25 | 6 | -3/+99 |
|\ \ | | | | | | | Add the Darwin_SecRandom entropy source | ||||
| * | | Add the Darwin_SecRandom entropy source | Daniel Seither | 2015-09-25 | 4 | -0/+84 |
| | | | | | | | | | | | | | | | | | | | | | It uses the SecRandomCopyBytes function from the Security framework of OS X and iOS. We need this because it is the official way to get cryptographically secure random numbers on iOS, where /dev/random is not accessible due to sandboxing. | ||||
| * | | build system: Add framework support for OS X and iOS | Daniel Seither | 2015-09-25 | 2 | -3/+15 |
| | | | | | | | | | | | | | | | | | | | | | On Darwin platforms, there are frameworks that can bundle libraries and header files in a standardized directory structure. We need to support linking to them because most of the OS X or iOS-specific APIs are provided as frameworks. | ||||
* | | | Merge pull request #287 from tiwoc/cleanup | Simon Warta | 2015-09-25 | 3 | -6/+8 |
|\ \ \ | | | | | | | | | Small cleanups done while building on OS X with --maintainer-mode | ||||
| * | | | Add some missing overrides | Daniel Seither | 2015-09-25 | 1 | -4/+4 |
| | | | | |||||
| * | | | Remove dead code | Daniel Seither | 2015-09-25 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | `continue` cannot be reached due to `return` in the line above | ||||
| * | | | Update .gitignore | Daniel Seither | 2015-09-25 | 1 | -1/+4 |
|/ / / | | | | | | | | | | | | | * ignore Mac-specific files (*.dylib, .DS_Store) * ignore Vim swap files | ||||
* | | | Merge pull request #273 from webmaster128/avoid-signed-overflow-warning | Simon Warta | 2015-09-25 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Remove warning: assuming signed overflow does not occur | ||||
| * | | Remove warning: assuming signed overflow does not occur | Simon Warta | 2015-09-25 | 1 | -1/+1 |
|/ / | | | | | | | | | | | warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] cond1 = r0.get_degree() <= break_deg - 1; | ||||
* | | Merge pull request #285 from webmaster128/avoid-char-concatination | Simon Warta | 2015-09-23 | 7 | -14/+14 |
|\ \ | |/ |/| | Avoid concatination of chars | ||||
| * | Avoid concatination of chars | Simon Warta | 2015-09-22 | 7 | -14/+14 |
|/ | | | | | | | Ever tried? auto str = "some long string"; auto str2 = str + '\n'; It's not with the brainfuck finding the bug. | ||||
* | Add HMAC_DRBG constructor taking a name for the MAC instead of an obj | Jack Lloyd | 2015-09-22 | 2 | -0/+15 |
| | |||||
* | Update todo | Jack Lloyd | 2015-09-22 | 1 | -2/+3 |
| | | | | [ci skip] | ||||
* | Delete Camellia sbox header. | Jack Lloyd | 2015-09-22 | 2 | -550/+1 |
| | | | | Two part commit with bd99a4f to work around git's insane rename system. | ||||
* | Inline Camellia sbox tables to source file | Jack Lloyd | 2015-09-22 | 1 | -3/+530 |
| | |||||
* | Cleanup includes | Jack Lloyd | 2015-09-22 | 3 | -2/+3 |
| | |||||
* | Move boost and sqlite3 to utils | Jack Lloyd | 2015-09-22 | 4 | -0/+0 |
| | |||||
* | Pluralize --with-python-version option, remove it from single-option group | Jack Lloyd | 2015-09-22 | 1 | -7/+4 |
| | |||||
* | Merge pull request #281 from alonbl/build-python | Jack Lloyd | 2015-09-22 | 1 | -5/+6 |
|\ | | | | | Support installing botan.py to multiple python versions | ||||
| * | build: support multiple python versions | Alon Bar-Lev | 2015-09-15 | 1 | -5/+6 |
| | | | | | | | | Signed-off-by: Alon Bar-Lev <[email protected]> | ||||
* | | Move contrib/sqlite to github.com/randombit/botan-sqlite | Jack Lloyd | 2015-09-21 | 8 | -792/+3 |
| | | |||||
* | | Remove the Perl XS module | Jack Lloyd | 2015-09-21 | 17 | -1899/+2 |
| | | |||||
* | | Move check for SIMD instructions to CPUID | Jack Lloyd | 2015-09-21 | 6 | -13/+18 |
| | | | | | | | | | | | | Avoids needing to include simd_32 to see if SIMD is disabled. This had caused a build break on Linux x86-32 as SSE2 must be enabled on a per-file basis. | ||||
* | | Remove OCaml wrapper, moved to randombit/botan-ocaml | Jack Lloyd | 2015-09-21 | 5 | -237/+8 |
| | |