Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge GH #979 Doc fix [ci skip] | Jack Lloyd | 2017-04-05 | 1 | -1/+1 |
|\ | |||||
| * | Fix description of coprime parameter to random_prime() [ci skip] | René Korthaus | 2017-04-05 | 1 | -1/+1 |
| | | | | | | | | Found during a review by BSI | ||||
* | | Merge GH #966 Add SM3 hash function | Jack Lloyd | 2017-04-05 | 7 | -0/+759 |
|\ \ | |/ |/| | |||||
| * | Re-roll two loops in SM3 hash compression function that are causing test ↵ | Daniel Wyatt | 2017-04-04 | 1 | -94/+32 |
| | | | | | | | | failures for some compilers. | ||||
| * | Update BSI and NIST policies to prohibit SM3 hash. | Daniel Wyatt | 2017-04-03 | 2 | -0/+2 |
| | | |||||
| * | Unroll loops in SM3 hash compress_n. | Daniel Wyatt | 2017-04-03 | 2 | -65/+241 |
| | | |||||
| * | Add more SM3 hash test data. | Daniel Wyatt | 2017-04-03 | 1 | -0/+417 |
| | | |||||
| * | Fix info.txt date and update to new format. | Daniel Wyatt | 2017-04-03 | 1 | -1/+3 |
| | | |||||
| * | Merge remote-tracking branch 'origin/master' into sm3 | Daniel Wyatt | 2017-04-03 | 177 | -191/+538 |
| |\ | |||||
| * | | Add SM3 hash function | Daniel Wyatt | 2017-04-03 | 5 | -0/+224 |
| | | | |||||
* | | | Merge GH #978 Fix bad read in X509 DN comparisons (CVE-2017-2801) | Jack Lloyd | 2017-04-04 | 4 | -0/+72 |
|\ \ \ | |||||
| * | | | Fix X509 DN comparisons | Jack Lloyd | 2017-04-04 | 4 | -0/+72 |
| | | | | | | | | | | | | | | | | CVE-2017-2801 | ||||
* | | | | Merge GH #900 Add ability to search by X509 DN hash | Jack Lloyd | 2017-04-04 | 10 | -232/+423 |
|\ \ \ \ | |||||
| * | | | | Add tests for find_cert_by_raw_subject_dn_sha256 | Nuno Goncalves | 2017-04-04 | 1 | -1/+43 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Refactor test_certstor.cpp to prepare for adding tests | Nuno Goncalves | 2017-04-04 | 1 | -147/+181 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Format with astyle before major changes | Nuno Goncalves | 2017-04-03 | 1 | -30/+32 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Add unit tests for X509 hash methods: | Nuno Goncalves | 2017-04-03 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X509_Certificate::raw_issuer_dn_sha256() X509_Certificate::raw_subject_dn_sha256() Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Add certificate store lookup by subject DN hash | Nuno Goncalves | 2017-04-03 | 4 | -0/+38 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Add X509 issuer and subject DN hash methods | Nuno Goncalves | 2017-04-03 | 2 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Fix comments | Nuno Goncalves | 2017-04-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Throw exception for Not_Implemented | Nuno Goncalves | 2017-04-03 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Refactor find_cert_by_pubkey_sha1 to reuse hash object | Nuno Goncalves | 2017-04-03 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | X509_CA: constantify X509_CA::sign_request | Nuno Goncalves | 2017-04-03 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
| * | | | | Refactor and modernize files to be edited | Nuno Goncalves | 2017-04-03 | 2 | -78/+70 |
| | |_|/ | |/| | | | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> | ||||
* | | | | Merge GH #977 Add block cipher interface to C API | Jack Lloyd | 2017-04-04 | 3 | -0/+159 |
|\ \ \ \ | |||||
| * | | | | Add block cipher interface to C API | Jack Lloyd | 2017-04-04 | 3 | -0/+159 |
| | | | | | |||||
* | | | | | configure: encode submodel prefix into single value | Simon Warta | 2017-04-04 | 2 | -11/+11 |
| |_|/ / |/| | | | | | | | | | | | to reuse dictionary parsing | ||||
* | | | | Merge GH #974 Add wrapper for make_unique | Jack Lloyd | 2017-04-04 | 2 | -0/+78 |
|\ \ \ \ | |/ / / |/| | | | |||||
| * | | | add Botan::make_unique | Tomasz Frydrych | 2017-04-04 | 2 | -0/+78 |
| |/ / | |||||
* | | | Remove stray semicolon | Jack Lloyd | 2017-04-04 | 1 | -1/+1 |
| | | | |||||
* | | | Merge GH #885 Change HMAC_DRBG::security_level to match NIST SP800-90A | Jack Lloyd | 2017-04-04 | 3 | -13/+57 |
|\ \ \ | |||||
| * | | | Follow NIST SP 800-57 for HMAC_DRBG security level | René Korthaus | 2017-04-03 | 2 | -3/+38 |
| | | | | |||||
| * | | | Change security_strength of HMAC_DRBG | René Korthaus | 2017-04-03 | 3 | -13/+22 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looking into SP808-90A, it mentions that the max security strength is the security strength of the hash function for pre-image resistance. The current implementation however always only uses half of the output length, therefore only providing half of the security strength possible. However, SP800-90A supports only up to 256 bit security strength, so we fix it to this upper limit. In a second change, add_entropy() now also resets the reseed counter if enough entropy input provided. | ||||
* | | | Merge GH #965 Various code cleanups | Jack Lloyd | 2017-04-04 | 100 | -259/+234 |
|\ \ \ | |||||
| * | | | Content: | Tomasz Frydrych | 2017-04-03 | 100 | -259/+234 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | * fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations) * `default` specifier instead of `{}` in some places(probably all) * removal of unreachable code (for example `return` after `throw`) * removal of compilation unit only visible, but not used functions * fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT` * removed not needed semicolons | ||||
* | | | 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 | ||||
* | | | | Merge GH #964 Add various useful FFI functions for public key crypto | Jack Lloyd | 2017-04-04 | 4 | -81/+437 |
|\ \ \ \ | |_|/ / |/| | | | |||||
| * | | | Implement botan_pubkey_load | Jack Lloyd | 2017-04-03 | 2 | -1/+30 |
| | | | | | | | | | | | | | | | | Declared in header, but was not defined. :( | ||||
| * | | | Fix botan_privkey_create if the desired algorithm was not available in build | Jack Lloyd | 2017-04-03 | 3 | -9/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | If DSA was disabled, caused memory corruption/crashes due to combination of uninitialized object and the tests not checking return values as carefully as they should. | ||||
| * | | | Add generic getters for PK parameters in C interface | Jack Lloyd | 2017-04-02 | 3 | -75/+364 |
| | | | | | | | | | | | | | | | | Supporting RSA, DSA, and ECC. Add also DSA specific loading functions. | ||||
* | | | | Merge GH #962 More configure.py refactorings/improvements | Jack Lloyd | 2017-04-03 | 177 | -191/+538 |
|\ \ \ \ | |_|_|/ |/| | | | |||||
| * | | | Remove "Dirty hack" for multiple defines in lex_me_harder() | Simon Warta | 2017-04-02 | 177 | -191/+538 |
| | | | | |||||
* | | | | Merge GH #961 Add some more BigInt functions to C API | Jack Lloyd | 2017-04-02 | 3 | -47/+187 |
|\ \ \ \ | |_|/ / |/| | | | |||||
| * | | | Add some more useful bigint functions to C interface | Jack Lloyd | 2017-03-31 | 3 | -47/+187 |
| | | | | |||||
* | | | | Merge GH #960 Check name of test suite. | Jack Lloyd | 2017-04-02 | 1 | -0/+11 |
|\ \ \ \ | |||||
| * | | | | Check name of test suite. | Alexander Bluhm | 2017-03-31 | 1 | -0/+11 |
| | |/ / | |/| | | | | | | | | | | | | | | If botan-test is invoked with an invalid test name, fail with a usage error. This is more obvious than not running the test. | ||||
* / | | | Print test name before running test. | Alexander Bluhm | 2017-03-31 | 1 | -0/+1 |
|/ / / | | | | | | | | | | | | | | | | To make it easy to repeat classes of tests, print the name of the test suite before starting it. This name can be used on the botan-test command line. If a test hangs, it is also obvious which. | ||||
* | | | Fix Doxygen comment errors | Jack Lloyd | 2017-03-31 | 1 | -1/+3 |
| | | | | | | | | | | | | [ci skip] | ||||
* | | | Merge GH #956 Add link to API docs in website table of contents | Jack Lloyd | 2017-03-31 | 1 | -1/+3 |
|\ \ \ |