Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run cli tests on Travis | Simon Warta | 2017-04-18 | 1 | -0/+7 |
| | |||||
* | Some linting cleanups for cli_tests.py | Simon Warta | 2017-04-18 | 1 | -6/+6 |
| | |||||
* | Update registration format of "encryption" cli command | Simon Warta | 2017-04-18 | 1 | -2/+2 |
| | |||||
* | Add more ciphers | Simon Warta | 2017-04-18 | 2 | -13/+71 |
| | |||||
* | Fix whitespace errors | Simon Warta | 2017-04-18 | 2 | -3/+3 |
| | |||||
* | Fix bug in vecparser: member must not be static | Simon Warta | 2017-04-18 | 1 | -2/+1 |
| | |||||
* | Adapt cli command encryption to new cli interface | Simon Warta | 2017-04-18 | 1 | -37/+42 |
| | |||||
* | Add botan encryption cli app | Simon Warta | 2017-04-18 | 3 | -0/+286 |
| | |||||
* | Use 3 arg BOTAN_UNUSED in a codepath that is compiled often | Simon Warta | 2017-04-17 | 1 | -3/+1 |
| | | | | | just to verify the implementation works fine across platforms and compilers | ||||
* | Mark correct variables unused in FFI botan_{pub,priv}key_load_elgamal | Simon Warta | 2017-04-16 | 1 | -7/+2 |
| | | | | Closes #1011 | ||||
* | Improve unused handling in ffi methods | Simon Warta | 2017-04-16 | 1 | -16/+8 |
| | | | | | Make sure `key` is not touched when method is not implemented. Use one line UNUSED statements | ||||
* | Let BOTAN_UNUSED take between 1 and 9 arguments | Simon Warta | 2017-04-16 | 1 | -2/+26 |
| | |||||
* | Merge GH #1006 Fix FFI cipher interface (see also GH #1003) | Jack Lloyd | 2017-04-15 | 2 | -65/+207 |
|\ | |||||
| * | Add tests of GCM and CTR mode | Jack Lloyd | 2017-04-14 | 1 | -64/+205 |
| | | |||||
| * | Fix FFI cipher interface | Jack Lloyd | 2017-04-14 | 2 | -11/+12 |
| | | | | | | | | | | | | Was totally broken, when not encrypting in one shot. (GH #1003) Enable the test, which had been commented out :( | ||||
* | | Guard include of ElGamal header | Jack Lloyd | 2017-04-15 | 1 | -1/+4 |
| | | |||||
* | | Support for ElGamal in FFI interface | Krzysztof Kwiatkowski | 2017-04-14 | 3 | -1/+168 |
|/ | | | | | | * Adds `botan_pubkey_load_elgamal' and `botan_privkey_load_elgamal' functions to FFI interface. * Adds test `ffi_test_elgamal' | ||||
* | Merge GH #989 Avoid recursion in BER_Decoder::get_next_object | Jack Lloyd | 2017-04-13 | 2 | -11/+83 |
|\ | |||||
| * | Add test for OSS-Fuzz 813 | Jack Lloyd | 2017-04-13 | 1 | -0/+67 |
| | | |||||
| * | Avoid recursion in BER_Decoder::get_next_object | Jack Lloyd | 2017-04-09 | 1 | -11/+16 |
| | | |||||
* | | Add hex encoder/decoder CLI util | Jack Lloyd | 2017-04-13 | 1 | -0/+37 |
| | | |||||
* | | Add HMAC CLI command | René Korthaus | 2017-04-13 | 1 | -0/+48 |
| | | |||||
* | | fix missing flush in DataSink_Stream::end_msg | Philippe Lieser | 2017-04-10 | 3 | -0/+39 |
| | | |||||
* | | Fix afl fuzzer build [ci skip] | Jack Lloyd | 2017-04-09 | 1 | -1/+1 |
|/ | |||||
* | Add another AES-128 CFB test | Jack Lloyd | 2017-04-08 | 1 | -0/+6 |
| | | | | | Generated by OpenSSL, I needed this to help test https://github.com/riboseinc/rnp/pull/48 | ||||
* | Small ffi fixes | Jack Lloyd | 2017-04-08 | 2 | -4/+6 |
| | | | | | | | | | Constify arg to botan_pk_op_decrypt, and correct comment on botan_mp_is_positive, which returns true even for zero. Considered changing botan_mp_is_positive to match the comment, and return false for zero, but we already test that botan_mp_is_positive(0) == 1, so I left it as is and fixed the comment. | ||||
* | Configure codecov to accept a 0.05% decrease in coverage | Simon Warta | 2017-04-08 | 1 | -0/+15 |
| | |||||
* | 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]> |