Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use new APIs in path validation and name constraint handling | Jack Lloyd | 2017-11-14 | 2 | -6/+14 |
| | |||||
* | Store CRL_Entry data in shared_ptr | Jack Lloyd | 2017-11-14 | 2 | -41/+81 |
| | |||||
* | Store X509_CRL data in shared_ptr | Jack Lloyd | 2017-11-14 | 2 | -69/+102 |
| | |||||
* | Store PKCS10 request data in structure | Jack Lloyd | 2017-11-14 | 2 | -65/+85 |
| | |||||
* | Refactor certificate extension handling | Jack Lloyd | 2017-11-14 | 2 | -274/+441 |
| | |||||
* | Store all data of an X509 certificate in a shared_ptr data struct. | Jack Lloyd | 2017-11-14 | 4 | -364/+567 |
| | |||||
* | Use new Decoding_Error constructor | Jack Lloyd | 2017-11-14 | 1 | -4/+2 |
| | |||||
* | Require SHA-2 for X.509 module | Jack Lloyd | 2017-11-14 | 1 | -0/+1 |
| | | | | The certstore interface assumes it and it's probably not unreasonable... | ||||
* | In X509_CA save the hash function used | Jack Lloyd | 2017-11-14 | 2 | -2/+11 |
| | |||||
* | Move X509_DN and AlternativeName from asn1 to x509 | Jack Lloyd | 2017-11-14 | 8 | -81/+118 |
| | |||||
* | Fix seek test with OpenSSL RC4 | Jack Lloyd | 2017-11-14 | 1 | -1/+1 |
| | |||||
* | Support seeking in Salsa20 | Jack Lloyd | 2017-11-14 | 8 | -9/+61 |
| | | | | Add a test that StreamCipher::seek throws if not keyed. | ||||
* | Add OIDS::oid2str and str2oid | Jack Lloyd | 2017-11-14 | 1 | -0/+10 |
| | | | | Using the name "lookup" for both directions is confusing. | ||||
* | Add a second constructor to Decoding_Error which takes an exception string. | Jack Lloyd | 2017-11-14 | 2 | -0/+5 |
| | |||||
* | Add <functional> include to TLS headers which use std::function | Jack Lloyd | 2017-11-14 | 2 | -0/+2 |
| | |||||
* | Compile fix | Jack Lloyd | 2017-11-14 | 1 | -2/+2 |
| | |||||
* | Correct issuer field of created CRLs | Jack Lloyd | 2017-11-14 | 2 | -6/+6 |
| | | | | Fixes GH #1242 | ||||
* | Use jom via botan-ci-tools repo | Jack Lloyd | 2017-11-13 | 1 | -2/+2 |
| | | | | download.qt.io seems to be down ... | ||||
* | Remove duplicated include | Jack Lloyd | 2017-11-13 | 1 | -1/+0 |
| | |||||
* | Remove final on TLS policy objects (GH #1292) | Jack Lloyd | 2017-11-13 | 1 | -4/+4 |
| | |||||
* | Missing include: #include <cstdlib> is needed for std::free. | Yuri | 2017-11-11 | 1 | -0/+1 |
| | |||||
* | rename cert containing UTF8String consistently | René Meusel | 2017-11-10 | 2 | -1/+1 |
| | |||||
* | TEST: read (self signed) cert containing BMPString fields | René Meusel | 2017-11-10 | 2 | -0/+52 |
| | |||||
* | Switch test code to use big-endian UCS2/UCS4 | Jack Lloyd | 2017-11-09 | 1 | -13/+11 |
| | | | | | | Specifications are somewhat unclear but as best I can tell only big-endian codepoints are allowed and that follows OpenSSL and GnuTLS behavior. | ||||
* | Remove use of transcode | Jack Lloyd | 2017-11-09 | 11 | -196/+140 |
| | |||||
* | FIX: linker error on windows (VSO#143857) | René Meusel | 2017-11-09 | 1 | -2/+14 |
| | |||||
* | FIX: test method namespacing | René Meusel | 2017-11-09 | 1 | -2/+2 |
| | |||||
* | FIX: coding style | Rene Meusel | 2017-11-09 | 1 | -94/+92 |
| | |||||
* | add tests for UCS-2/4 parsing | Rene Meusel | 2017-11-09 | 1 | -0/+65 |
| | |||||
* | add conversion from UCS-2/4 to UTF-8 | Rene Meusel | 2017-11-09 | 2 | -13/+47 |
| | |||||
* | introduce UNIVERSAL_STRING (UCS-4) | Rene Meusel | 2017-11-09 | 2 | -1/+3 |
| | |||||
* | add coding clarifications | Rene Meusel | 2017-11-09 | 1 | -2/+6 |
| | |||||
* | add test reading UTF-8 X509 cert | Rene Meusel | 2017-11-09 | 3 | -2/+61 |
| | |||||
* | allow encoding of UTF-8 strings | Rene Meusel | 2017-11-09 | 2 | -8/+70 |
| | |||||
* | switch to default utf-8 string in ASN1_String | Rene Meusel | 2017-11-09 | 2 | -8/+8 |
| | |||||
* | add a failing test for an UTF-8 string and a successful test for ASCII | Rene Meusel | 2017-11-09 | 1 | -0/+57 |
| | |||||
* | Add UCS-2 and UCS-4 to UTF-8 conversion functions | Jack Lloyd | 2017-11-09 | 4 | -5/+131 |
| | | | | | | Crosschecked by fuzzing and comparing with iconv Needed in #1250 | ||||
* | Add SHACAL2 test from Bouncy Castle | Jack Lloyd | 2017-11-05 | 1 | -0/+5 |
| | | | | [ci skip] | ||||
* | Fix shadow warning | Jack Lloyd | 2017-11-05 | 1 | -2/+3 |
| | | | | [ci skip] | ||||
* | Add support for ARIA GCM ciphersuites | Jack Lloyd | 2017-11-03 | 4 | -7/+30 |
| | | | | Tested against OpenSSL master | ||||
* | Add some KDF2 values from Bouncy Castle | Jack Lloyd | 2017-11-02 | 1 | -0/+19 |
| | |||||
* | Format tweaks | Jack Lloyd | 2017-11-02 | 1 | -2/+2 |
| | |||||
* | Avoid using semicolon at and of do { } while(0) macro block. | Jack Lloyd | 2017-11-02 | 2 | -19/+19 |
| | | | | Clearly I have a tic for this. | ||||
* | Avoid saving a session to SQL database with empty hostname | Jack Lloyd | 2017-11-02 | 1 | -0/+3 |
| | | | | This happens if the hostname is unknown or specified as an IP. | ||||
* | Minor SIV/CMAC optimizations | Jack Lloyd | 2017-11-02 | 2 | -13/+17 |
| | |||||
* | speed: simplify some code | Jack Lloyd | 2017-11-02 | 1 | -167/+60 |
| | |||||
* | Use a simple PRNG for the tests | Jack Lloyd | 2017-10-29 | 4 | -123/+114 |
| | | | | | | | | | | | Not cryptographically secure, but fast! Cuts several seconds off the test suite even on a very fast machine. Probably even more effective for 32-bit systems since the default for HMAC_DRBG is SHA-384. Also it means deterministic tests are used regardless of build configuration which is nice. Improve output for --test-runs which was useful for me when debugging SM2 encryption issue. | ||||
* | Merge GH #1281 CRC24 optimizations | Jack Lloyd | 2017-10-29 | 2 | -67/+213 |
|\ | |||||
| * | CRC24 performance improvement (32 bits in parallel) | Krzysztof Kwiatkowski | 2017-10-29 | 2 | -67/+213 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Algorithm uses 4 tables of precalculated CRC24 values, thanks to which it can process in parallel 32 bits of data. This tric doubles performance Further improvements are possible. Results - (tested with RNP) processing 1GB armor data ``` OLD: rnp --enarmor=msg /tmp/1gb.rnd --output 4.48s user 0.89s system 98% cpu 5.429 total NEW: rnp --enarmor=msg /tmp/1gb.rnd --output 2.38s user 0.86s system 79% cpu 4.089 total OLD: rnp --dearmor out.xxx --output out.d 5.58s user 0.65s system 98% cpu 6.338 total NEW: rnp --dearmor out.xxx --output out.d 3.28s user 0.84s system 96% cpu 4.275 total ``` | ||||
* | | Include <memory> in base type headers | Jack Lloyd | 2017-10-29 | 4 | -0/+4 |
|/ | | | | Needed for the create calls |