Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BearSSL: move includes into extern "C" | Patrick Wildt | 2017-07-05 | 2 | -3/+8 |
| | | | | | Without the specific extern "C" declaration for the includes the C functions might get C++'d so the linking stage fails. | ||||
* | BearSSL: Support for ECDSA | Patrick Wildt | 2017-07-05 | 4 | -2/+242 |
| | | | | | | This commit adds support for ECDSA using BearSSL as a backend. This means we can test BearSSL's ECDSA algorithms using the extensive Botan testsuite. | ||||
* | BearSSL: Initial support and hash tests | Patrick Wildt | 2017-07-05 | 5 | -2/+181 |
| | | | | | | | | | BearSSL is an implementation of the SSL/TLS protocol in C aiming to be correct and secure, small and highly portable. Thus making it nicer to be included in a rather sparse bootloader. This commit adds support for BearSSL's hash routines only, with more stuff coming up in following commits. The goal is to be able to test BearSSL using Botan's extensive testsuite. | ||||
* | Increase ABI version | Jack Lloyd | 2017-07-03 | 1 | -1/+1 |
| | | | | | | | | | Already we broke ABI in 2.1 but did not bump the soversion (see comments in https://github.com/randombit/botan/commit/7bdffd52a96e08e9452d1985258376a3925a497b) and 2.2 again changes ABI for example by adding HashFunction::copy_state function. [ci skip] | ||||
* | Update news | Jack Lloyd | 2017-07-03 | 1 | -0/+7 |
| | |||||
* | Merge GH #1093 In EC keys, use OID encoding if possible | Jack Lloyd | 2017-07-03 | 1 | -6/+16 |
|\ | |||||
| * | ECC: use OID encoding if possible | Patrick Wildt | 2017-06-30 | 1 | -6/+16 |
| | | | | | | | | | | | | Instead of explicitly encoding the domain, encode them with the OID if the OID is available. This makes the ecdsa_sign test run with OpenSSL, since OpenSSL needs the OID explicitly set. | ||||
| * | Revert previous, we should fix it differently. | Patrick Wildt | 2017-06-30 | 1 | -16/+20 |
| | | |||||
| * | Allow ECDSA tests for OpenSSL by comparing EC Groups | Patrick Wildt | 2017-06-28 | 1 | -20/+16 |
| | | | | | | | | | | | | | | | | The ecdsa_sign test does not work for OpenSSL since the public key that is derived from the private key does not store the OID of the curve. Thus, the OpenSSL code cannot find the proper NID for the given public key and cannot do a verification operation. We can fix this by comparing the actual groups and not using the OIDs. | ||||
* | | Merge GH #1107 Improve documentation of x509_path_validate | Jack Lloyd | 2017-07-03 | 1 | -1/+1 |
|\ \ | |||||
| * | | Add position of end entity cert in x509_path_validate() doc [ci skip] | René Korthaus | 2017-07-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | It's not so obvious to a user at which end of the chain the end entity certificate must be placed. | ||||
* | | | Merge GH #1106 Fix sign_cert CLI incorrectly handling --ca-key-pass (GH #1104) | Jack Lloyd | 2017-07-03 | 1 | -2/+4 |
|\ \ \ | |||||
| * | | | Fix sign_cert CLI incorrectly handling --ca-key-pass | René Korthaus | 2017-07-01 | 1 | -2/+4 |
| |/ / | |||||
* | | | Merge GH #1103 Fix error in Doxygen comment | Jack Lloyd | 2017-07-03 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | |||||
| * | | escape \Z in doxygen comment causing doxygen warning (and in turn error), ↵ | Zoltan Gyarmati | 2017-07-01 | 1 | -1/+1 |
|/ / | | | | | | | fixes #1102 | ||||
* | | Update news | Jack Lloyd | 2017-06-30 | 2 | -1/+5 |
| | | |||||
* | | Update modern and nist policies with recent additions | Jack Lloyd | 2017-06-30 | 3 | -0/+21 |
| | | |||||
* | | Merge GH #1082 Add support for SM2 signature scheme | Jack Lloyd | 2017-06-30 | 16 | -2/+654 |
|\ \ | |||||
| * | | Remove debug prints | Jack Lloyd | 2017-06-30 | 1 | -17/+1 |
| | | | |||||
| * | | Add SM2 signature scheme | Jack Lloyd | 2017-06-29 | 16 | -2/+671 |
| | | | | | | | | | | | | | | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc). | ||||
* | | | Merge GH #1084 Support multiple buffer sizes in speed report | Jack Lloyd | 2017-06-30 | 1 | -86/+446 |
|\ \ \ | |||||
| * | | | use buffer sizes only once in performance tests | 0xdefaced | 2017-06-26 | 1 | -2/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | Remove duplicates from given buffer sizes in performance tests. Additionally, sort buffer sizes for better grouping in logs and add a colon before printing the measurements. | ||||
| * | | | print a summary for performance tests | 0xdefaced | 2017-06-24 | 1 | -7/+306 |
| | | | | |||||
| * | | | only speed test different msg sizes when tests require a message size | 0xdefaced | 2017-06-24 | 1 | -204/+222 |
| | | | | | | | | | | | | | | | | | | | | Don't perform performance tests for different buffer sizes when the algorithm does not care about the message size. | ||||
| * | | | accept multiple buffer sizes used for speed tests | 0xdefaced | 2017-06-24 | 1 | -141/+170 |
| | |/ | |/| | |||||
* | | | Merge GH #1098 Cleanups in SM3 | Jack Lloyd | 2017-06-30 | 1 | -81/+25 |
|\ \ \ | |||||
| * | | | Cleanups in SM3 code | Jack Lloyd | 2017-06-29 | 1 | -81/+25 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | T[] variable is actually a constant, so precompute it in SM3_TJ W1 expansion is very simple and can just be done inline. Somewhat faster on my machine. | ||||
* | | | Merge GH #1099 Update BSI policy | Jack Lloyd | 2017-06-30 | 1 | -0/+3 |
|\ \ \ | |_|/ |/| | | |||||
| * | | Update BSI module policy | René Korthaus | 2017-06-30 | 1 | -0/+3 |
|/ / | | | | | | | | | Prohibit SM4 block cipher, ed25519 signature scheme and NIST SP800-56A KDF. | ||||
* | | Merge GH #1095 Catch exceptions in botan_mp_init | Jack Lloyd | 2017-06-29 | 1 | -3/+23 |
|\ \ | |||||
| * | | ffi: Catch exceptions in botan_mp_init | Daniel Wyatt | 2017-06-28 | 1 | -3/+23 |
| |/ | |||||
* | | Merge GH #1092 Correct printing of UTF-8 strings in asn1print cli | Jack Lloyd | 2017-06-29 | 1 | -2/+2 |
|\ \ | |||||
| * | | Fix transcoding of asn1print strings to UTF-8 | René Korthaus | 2017-06-28 | 1 | -2/+2 |
| |/ | | | | | | | | | | | | | | | When the terminal used supports UTF-8, asn1print should convert strings from internal Latin1 to UTF-8 encoding for printing to terminal. However, it previously tried to convert in the opposite direction, probably because of the misconception that Charset::transcode() expects the two encodings as "from, to" instead of "to, from". | ||||
* | | Merge GH #1096 Avoid undefined behavior in rotation operations | Jack Lloyd | 2017-06-29 | 1 | -0/+2 |
|\ \ | |||||
| * | | Allow bit rotation by more than sizeof(T)*8 bits. | Daniel Wyatt | 2017-06-28 | 1 | -0/+2 |
| |/ | | | | | | | | | | | | | | | | | Currently these functions will happily bit shift by >= sizeof(T)*8 bits. However, this is undefined behavior, and results in unexpected results (0) on at least one platform I've tested. With this update, you can expect that rotate_left<uint32_t>(1, 32)==1 and rotate_right<uint32_t>(1, 32)==1. | ||||
* / | Add a check in EC_Group encoding for OID being set | Jack Lloyd | 2017-06-29 | 1 | -0/+6 |
|/ | | | | Otherwise encoding would fail with an obtuse error message. | ||||
* | Merge GH #1087 Update Doxygen comment for X509_Certificate::subject_info [ci ↵ | Jack Lloyd | 2017-06-23 | 1 | -2/+4 |
|\ | | | | | | | skip] | ||||
| * | Update Doxygen for X509_Certificate::subject_info | Daniel Neus | 2017-06-23 | 1 | -2/+4 |
|/ | |||||
* | Update news | Jack Lloyd | 2017-06-21 | 1 | -0/+5 |
| | |||||
* | Bump x25519 version in light of GH #1076 format change | Jack Lloyd | 2017-06-21 | 1 | -1/+1 |
| | |||||
* | Add test for CURDLE format Ed25519 keys | Jack Lloyd | 2017-06-21 | 1 | -0/+40 |
| | |||||
* | Merge GH #1076 Change x25519 and Ed25519 key formats to match IETF standard | Jack Lloyd | 2017-06-21 | 7 | -53/+46 |
|\ | |||||
| * | Replaced USE_NULL_PARAM (0x05 0x00) by an empty vector (nothing) | Francis Dupont | 2017-06-12 | 2 | -2/+8 |
| | | |||||
| * | Fixed private key code | Francis Dupont | 2017-06-12 | 4 | -25/+14 |
| | | |||||
| * | Fixed public key code for *25519 | Francis Dupont | 2017-06-12 | 2 | -18/+4 |
| | | |||||
| * | Moved to draft-ietf-curdle-pkix assigned OIDs | Francis Dupont | 2017-06-12 | 2 | -7/+7 |
| | | |||||
| * | Added Curve25519_PrivateKey constructor from secret_key | Francis Dupont | 2017-06-12 | 1 | -0/+12 |
| | | |||||
| * | Addressed #1071 (unfinished change in master cipher_filter.cpp) | Francis Dupont | 2017-06-12 | 1 | -1/+1 |
| | | |||||
* | | Update readme with recently added algos | Jack Lloyd | 2017-06-20 | 1 | -3/+4 |
| | | |||||
* | | Merge GH #1080 Add SM4 block cipher | Jack Lloyd | 2017-06-20 | 6 | -3/+228 |
|\ \ |