Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix various x509 path validation bugs + path building with ambiguous DNs | Fabian Weissberg | 2017-12-20 | 1 | -1/+3 |
| | | | | Signed-off-by: Fabian Weissberg <[email protected]> | ||||
* | Add accessors to ASN1_Attribute and AlgorithmIdentifier | Jack Lloyd | 2017-12-19 | 4 | -27/+49 |
| | |||||
* | Fix some other copy+paste code in BER_Decoder | Jack Lloyd | 2017-12-19 | 4 | -77/+58 |
| | |||||
* | Simplify overloads in DER_Encoder | Jack Lloyd | 2017-12-19 | 2 | -37/+15 |
| | |||||
* | Remove use of "using namespace std" | Jack Lloyd | 2017-12-04 | 1 | -8/+10 |
| | |||||
* | Simplify date conversion by avoiding OS utilities | Jack Lloyd | 2017-12-04 | 1 | -6/+6 |
| | | | | | | | We have to rely on non-portable OS calls to convert UTC times, and they are not available on many systems (including Solaris and MinGW). But instead there is a simple algorithm due to Howard Hinnant that does the same job. Woo. | ||||
* | Avoid uncontrolled recusion on indefinite length encodings | Jack Lloyd | 2017-11-20 | 1 | -17/+26 |
| | | | | | A sufficiently nested indefinite length construction would cause stack exhaustion and a crash. Found by OSS-Fuzz - issue 4353 | ||||
* | Update ASN.1 fuzzer | Jack Lloyd | 2017-11-15 | 1 | -3/+3 |
| | |||||
* | Correct handling of nested context specific | Jack Lloyd | 2017-11-15 | 1 | -4/+3 |
| | |||||
* | Move ASN1 printer to the library | Jack Lloyd | 2017-11-15 | 4 | -0/+415 |
| | |||||
* | Increase the size of an ASN.1 tag enum to 32-bits | Jack Lloyd | 2017-11-15 | 1 | -1/+1 |
| | | | | Fixes GH #751 | ||||
* | Consolidate function for testing for ASN.1 string types | Jack Lloyd | 2017-11-14 | 2 | -8/+21 |
| | |||||
* | Move X509_DN and AlternativeName from asn1 to x509 | Jack Lloyd | 2017-11-14 | 4 | -730/+0 |
| | |||||
* | Add OIDS::oid2str and str2oid | Jack Lloyd | 2017-11-14 | 1 | -0/+10 |
| | | | | Using the name "lookup" for both directions is confusing. | ||||
* | Remove use of transcode | Jack Lloyd | 2017-11-09 | 5 | -112/+62 |
| | |||||
* | FIX: linker error on windows (VSO#143857) | René Meusel | 2017-11-09 | 1 | -2/+14 |
| | |||||
* | add conversion from UCS-2/4 to UTF-8 | Rene Meusel | 2017-11-09 | 1 | -11/+42 |
| | |||||
* | introduce UNIVERSAL_STRING (UCS-4) | Rene Meusel | 2017-11-09 | 2 | -1/+3 |
| | |||||
* | add coding clarifications | Rene Meusel | 2017-11-09 | 1 | -2/+6 |
| | |||||
* | allow encoding of UTF-8 strings | Rene Meusel | 2017-11-09 | 1 | -4/+1 |
| | |||||
* | switch to default utf-8 string in ASN1_String | Rene Meusel | 2017-11-09 | 2 | -8/+8 |
| | |||||
* | X.509 RSA-PSS verification | Daniel Neus | 2017-10-20 | 1 | -1/+11 |
| | |||||
* | Additional final annotations | Jack Lloyd | 2017-10-15 | 1 | -1/+1 |
| | |||||
* | Address some bool/int conversion warnings from Sonar | Jack Lloyd | 2017-10-06 | 1 | -1/+1 |
| | | | | Nothing major but probably good to clean these up. | ||||
* | Correct the SHA-3 PKCSv1.5 IDs | Jack Lloyd | 2017-10-05 | 1 | -1/+3 |
| | | | | | | | Thanks to @noloader for pointing me at draft-jivsov-openpgp-sha3-01 which has the correct values. Adds a test so this can't happen again. | ||||
* | Avoid empty methods, use =default or add a comment | Jack Lloyd | 2017-10-03 | 2 | -8/+1 |
| | | | | Sonar | ||||
* | Add wrappers for reinterpret_cast between char* and uint8_t* | Jack Lloyd | 2017-10-03 | 1 | -1/+1 |
| | | | | | | | Generally speaking reinterpret_cast is sketchy stuff. But the special case of char*/uint8_t* is both common and safe. By isolating those, the remaining (likely sketchy) cases are easier to grep for. | ||||
* | Uppercase constants | Jack Lloyd | 2017-10-02 | 1 | -12/+15 |
| | |||||
* | Retract explicit on OID | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | | | | This conversion is often useful | ||||
* | Use explicit on more single-argument constructors | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Use class instead of struct for objects with member functions | Jack Lloyd | 2017-09-30 | 1 | -5/+7 |
| | | | | Flagged by Sonar and quite reasonable | ||||
* | Further header cleanups | Jack Lloyd | 2017-09-28 | 1 | -0/+1 |
| | |||||
* | Refactor to avoid explicit delete in BER_Decoder | Jack Lloyd | 2017-09-22 | 2 | -26/+12 |
| | |||||
* | Apply final annotations to the library also | Jack Lloyd | 2017-09-22 | 3 | -4/+4 |
| | | | | | Done by a perl script which converted all classes to final, followed by selective reversion where it caused compilation failures. | ||||
* | Header file cleanups | Jack Lloyd | 2017-09-21 | 4 | -5/+1 |
| | | | | Some help from include-what-you-use | ||||
* | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 11 | -22/+22 |
| | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | Add API stability annotations. | Jack Lloyd | 2017-09-19 | 11 | -31/+31 |
| | | | | | Defined in build.h, all equal to BOTAN_DLL so ties into existing system for exporting symbols. | ||||
* | Fix various MSVC warnings | Jack Lloyd | 2017-08-31 | 2 | -2/+6 |
| | | | | Based on VC2017 output | ||||
* | Add a guard to avoid doing &v[1] when v.size() == 1 | Jack Lloyd | 2017-08-25 | 1 | -2/+6 |
| | | | | Found by running the fuzzers over corpus with debug iterators. | ||||
* | Add Streebog hash (GOST R 34.11-2012). | Daniel Wyatt | 2017-08-04 | 1 | -1/+5 |
| | |||||
* | Add SM2 signature scheme | Jack Lloyd | 2017-06-29 | 1 | -1/+9 |
| | | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc). | ||||
* | Moved to draft-ietf-curdle-pkix assigned OIDs | Francis Dupont | 2017-06-12 | 1 | -5/+5 |
| | |||||
* | Add Ed25519 key type and tests | Jack Lloyd | 2017-06-07 | 1 | -1/+3 |
| | | | | This work was sponsored by Ribose Inc | ||||
* | Add SM3 OIDs and PKCSv1.5 hash prefix | Jack Lloyd | 2017-05-19 | 1 | -1/+5 |
| | |||||
* | Avoid recursion in BER_Decoder::get_next_object | Jack Lloyd | 2017-04-09 | 1 | -11/+16 |
| | |||||
* | Content: | Tomasz Frydrych | 2017-04-03 | 4 | -4/+7 |
| | | | | | | | | | * 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 | ||||
* | Remove "Dirty hack" for multiple defines in lex_me_harder() | Simon Warta | 2017-04-02 | 1 | -1/+3 |
| | |||||
* | Fix some compiler warnings. | Jack Lloyd | 2017-03-22 | 1 | -1/+1 |
| | |||||
* | Merge GH #897 Add generic memory type BER decoder | Jack Lloyd | 2017-03-22 | 1 | -0/+32 |
|\ | |||||
| * | Add generic memory type value BER decoder | Nuno Goncalves | 2017-03-07 | 1 | -0/+32 |
| | | | | | | | | Signed-off-by: Nuno Goncalves <[email protected]> |