Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix name constraint application | Jack Lloyd | 2021-05-09 | 1 | -6/+1 |
| | | | | | | | A name constraint on an intermediate certificate should not constraint the intermediate itself, but only the subordinate certificates. Fixes GH #2737 | ||||
* | Name constraint fixes | Jack Lloyd | 2021-05-09 | 4 | -8/+10 |
| | | | | | | | | | | | | Do not require name constraint extension to be critical. It is certainly a bad idea to issue non-critical name constraints, but it seems some CAs do use them in practice, and also most other implementations seem to accept such non-critical extensions. Fix name constraint DNS comparisons: previously these were case sensitive, which is wrong for DNS. GH #2735 and #2736 | ||||
* | Fix #2237 forcing OID::to_string to use C locale, avoiding thousand ↵ | Leonardo Backes Vargas | 2021-04-27 | 1 | -0/+1 |
| | | | | separators from the process locale. | ||||
* | Backport of #2630 to release-2 | Jack Lloyd | 2021-04-21 | 1 | -1/+1 |
| | | | | | | | | Fix decoding a DN when the set contains more than one element This check was incorrect. GH #2611 | ||||
* | Correct version annotation for botan_rng_init_custom | Jack Lloyd | 2021-04-15 | 1 | -1/+1 |
| | |||||
* | Merge GH #2673 Fix TLS::Stream::async_shutdown | Jack Lloyd | 2021-04-01 | 1 | -21/+29 |
|\ | |||||
| * | fix: forward executor through async_shutdown wrapper | Hannes Rantzsch | 2021-03-30 | 1 | -21/+29 |
| | | |||||
* | | Reject non-TLS records as soon as possible | Jack Lloyd | 2021-03-29 | 1 | -4/+6 |
| | | | | | | | | | | | | As we can hang if someone sends something we do not expect GH #2668 | ||||
* | | Fix asm clobbers for rotate asm | Jack Lloyd | 2021-03-09 | 1 | -2/+8 |
| | | | | | | | | rol/ror clobber CF and (iff rot == 1) also OF | ||||
* | | Fix BigInt::operator< when both integers are negative | Jack Lloyd | 2021-03-05 | 1 | -2/+2 |
| | | | | | | | | | | | | Broken in 00b6842a54 GH #2638 | ||||
* | | Bump the ffi version to indicate support for custom RNG | Jack Lloyd | 2021-02-20 | 2 | -1/+5 |
| | | |||||
* | | Merge GH #2628 Backport #2619 improve safegcd bounds | Jack Lloyd | 2021-02-20 | 1 | -5/+23 |
|\ \ | |||||
| * | | Backport #2619 to release-2 | Jack Lloyd | 2021-02-19 | 1 | -5/+23 |
| |/ | |||||
* / | Add API to register custom RNG with FFI API | René Fischer | 2021-02-18 | 2 | -0/+113 |
|/ | |||||
* | Fix build on clang ppc64 | Jack Lloyd | 2020-12-16 | 1 | -4/+10 |
| | | | | GH #2554 #2547 | ||||
* | Backport of #2543 to release-2 | Jack Lloyd | 2020-12-15 | 5 | -267/+333 |
| | |||||
* | Backport of #2541 increase alignment of lookup tables | Jack Lloyd | 2020-12-12 | 15 | -126/+130 |
| | | | | | Many differences here as some algos are in 2.x but not in 3, and the small tables changes for ARIA/Camellia/DES/SEED were not backported. | ||||
* | Merge GH #2481 Use -mcpu=power9 for DARN | Jack Lloyd | 2020-11-10 | 1 | -0/+4 |
|\ | | | | | | | Backport of #2480 | ||||
| * | Use -mcpu=power9 to use DARN instruction | Jack Lloyd | 2020-11-09 | 1 | -0/+4 |
| | | | | | | | | Backport of #2480 | ||||
* | | Fix ressol loop for interesting composite moduli | Jack Lloyd | 2020-11-09 | 1 | -4/+17 |
|/ | | | | Backport of #2478 fixing #2476 | ||||
* | Enable CLMUL on Windows | Jack Lloyd | 2020-11-06 | 1 | -0/+1 |
| | | | | Somehow this got lost in the clmul->ghash conversion in 2.12 | ||||
* | Merge GH #2453 Deprecate some math functions from public API | Jack Lloyd | 2020-11-05 | 10 | -58/+101 |
|\ | |||||
| * | Some math deprecations | Jack Lloyd | 2020-11-05 | 10 | -58/+101 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly things that shouldn't be used (like almost Montgomery inverse, which isn't even constant time) or are very much just for internals (like the word-wise Montgomery inverse computation used for reduction). Make variable time division explicit; leaves plain divide as a call but it forwards to ct_divide now. All callers within the library are now explicitly consttime or vartime. Add a shortcut for modulus by one word - this hits quite often especially in the ECC code | ||||
* | | Merge GH #2452 Simplify some functions in secmem.h | Jack Lloyd | 2020-11-05 | 2 | -50/+36 |
|\ \ | |||||
| * | | Simplify some secmem.h functions | Jack Lloyd | 2020-11-05 | 2 | -50/+36 |
| |/ | | | | | | | Move buffer_insert to mem_ops.h | ||||
* | | MSVC doesn't accept std::vector with incomplete types in C++11 | Jack Lloyd | 2020-11-05 | 2 | -2/+3 |
| | | |||||
* | | Remove some implementation headers from public McEliece includes | Jack Lloyd | 2020-11-05 | 6 | -11/+28 |
|/ | |||||
* | Merge GH #2449 Merge PSK_DB headers | Jack Lloyd | 2020-11-05 | 3 | -23/+28 |
|\ | |||||
| * | Merge psk_db_sql.h into psk_db.h | Jack Lloyd | 2020-11-04 | 3 | -23/+28 |
| | | |||||
* | | Merge some of the P11 type headers (Slot/Module/Session) into p11_types.h | Jack Lloyd | 2020-11-04 | 13 | -225/+234 |
|/ | | | | Also forward declare the DLL wrapper class rather than including it | ||||
* | More header merging | Jack Lloyd | 2020-11-03 | 25 | -975/+981 |
| | |||||
* | Add missing include | Jack Lloyd | 2020-11-01 | 3 | -0/+3 |
| | |||||
* | More cleanup of XMSS headers | Jack Lloyd | 2020-11-01 | 8 | -518/+480 |
| | | | | Merge xmss_privatekey.h and xmss_publickey.h -> xmss.h | ||||
* | Modify Testsuite_RNG slightly to avoid rotations | Jack Lloyd | 2020-11-01 | 1 | -0/+7 |
| | | | | | | | | | | | | [Since I want to make rotate.h internal in 3.0] During modification of Testsuite_RNG some hard to debug test failures occurred. It turned out to be because on occasion, with a sufficiently bad test RNG, you can end up with p == q during RSA key generation. Check for this. Also add a smoke test checking that the test RNG is producing roughly uniform output. | ||||
* | Add missing include | Jack Lloyd | 2020-10-31 | 1 | -0/+1 |
| | |||||
* | Make several XMSS implementation headers internal | Jack Lloyd | 2020-10-31 | 19 | -88/+112 |
| | | | | | | This is nominally a SemVer break but there is no legit use for these APIs by applications, and most of them were not even exported via visibility attributes. | ||||
* | Merge X.509 header files | Jack Lloyd | 2020-10-31 | 42 | -978/+948 |
| | |||||
* | Merge GH #2441 Merge some of the ASN.1 headers | Jack Lloyd | 2020-10-31 | 38 | -374/+344 |
|\ | |||||
| * | Merge some of the ASN.1 headers | Jack Lloyd | 2020-10-31 | 38 | -374/+344 |
| | | | | | | | | | | Deprecate asn1_str.h asn1_time.h asn1_oid.h and alg_id.h with all contents moved to existing asn1_obj.h | ||||
* | | Generalize SIV's support for multiple ADs to the AEAD interface | Jack Lloyd | 2020-10-31 | 4 | -2/+43 |
|/ | |||||
* | Correct hash to integer conversions for ECDSA | Jack Lloyd | 2020-10-28 | 1 | -7/+6 |
| | | | | | When the hash and group sizes differ sometimes our conversion was different from standard. Closes #2415 | ||||
* | Resolve Doxygen warnings | Jack Lloyd | 2020-10-28 | 3 | -3/+5 |
| | |||||
* | Add support for detecting AVX-512 BW/DQ also | Jack Lloyd | 2020-10-24 | 3 | -12/+35 |
| | |||||
* | Improve AVX-512 detection | Jack Lloyd | 2020-10-24 | 3 | -18/+80 |
| | |||||
* | replace c++20 deprecated std::is_pod with std::is_standard_layout && ↵ | Nuno Goncalves | 2020-10-23 | 2 | -2/+2 |
| | | | | | | std::is_trivial Signed-off-by: Nuno Goncalves <[email protected]> | ||||
* | Merge GH #2426 Fix parsing of deeply nested cipher names | Jack Lloyd | 2020-10-22 | 1 | -3/+6 |
|\ | |||||
| * | fix parsing nested cipher name | winter | 2020-10-21 | 1 | -3/+6 |
| | | |||||
* | | Fix ECC multiexponentiation when two points are related | Jack Lloyd | 2020-10-20 | 3 | -2/+25 |
|/ | | | | | | | If the points are related by x = -{1,2,3}y then an infinity was silently produced, causing validation failures. Fixes #2424 | ||||
* | Merge GH #2419 Prevent requesting DER-encoded signature on algos that don't ↵ | Jack Lloyd | 2020-10-09 | 1 | -2/+9 |
|\ | | | | | | | support it | ||||
| * | improve check if signature algorithm supports DER encoding | Philippe Lieser | 2020-10-09 | 1 | -2/+9 |
| | |