aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Don't crash if openssl can't allocate a new contextKirill A. Korinsky2017-06-293-2/+13
|
* Merge GH #1095 Catch exceptions in botan_mp_initJack Lloyd2017-06-291-3/+23
|\
| * ffi: Catch exceptions in botan_mp_initDaniel Wyatt2017-06-281-3/+23
| |
* | Merge GH #1092 Correct printing of UTF-8 strings in asn1print cliJack Lloyd2017-06-291-2/+2
|\ \
| * | Fix transcoding of asn1print strings to UTF-8René Korthaus2017-06-281-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 operationsJack Lloyd2017-06-291-0/+2
|\ \
| * | Allow bit rotation by more than sizeof(T)*8 bits.Daniel Wyatt2017-06-281-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 setJack Lloyd2017-06-291-0/+6
|/ | | | Otherwise encoding would fail with an obtuse error message.
* Update Doxygen for X509_Certificate::subject_infoDaniel Neus2017-06-231-2/+4
|
* Bump x25519 version in light of GH #1076 format changeJack Lloyd2017-06-211-1/+1
|
* Add test for CURDLE format Ed25519 keysJack Lloyd2017-06-211-0/+40
|
* Merge GH #1076 Change x25519 and Ed25519 key formats to match IETF standardJack Lloyd2017-06-217-53/+46
|\
| * Replaced USE_NULL_PARAM (0x05 0x00) by an empty vector (nothing)Francis Dupont2017-06-122-2/+8
| |
| * Fixed private key codeFrancis Dupont2017-06-124-25/+14
| |
| * Fixed public key code for *25519Francis Dupont2017-06-122-18/+4
| |
| * Moved to draft-ietf-curdle-pkix assigned OIDsFrancis Dupont2017-06-122-7/+7
| |
| * Added Curve25519_PrivateKey constructor from secret_keyFrancis Dupont2017-06-121-0/+12
| |
| * Addressed #1071 (unfinished change in master cipher_filter.cpp)Francis Dupont2017-06-121-1/+1
| |
* | Merge GH #1080 Add SM4 block cipherJack Lloyd2017-06-206-3/+228
|\ \
| * | Add SM4 block cipherJack Lloyd2017-06-166-3/+228
| | | | | | | | | | | | This work was sponsored by Ribose Inc
* | | Fix for #1078Baruch2017-06-191-1/+1
|/ /
* | Merge GH #1074 Add ability to load ECDSA/ECDH via FFIJack Lloyd2017-06-123-55/+265
|\ \ | |/ |/|
| * FFI: Comments from code review #1074Krzysztof Kwiatkowski2017-06-121-28/+65
| |
| * FFI: privkey_load_ec and pubkey_load_ec should be available only if ECDSA or ↵Krzysztof Kwiatkowski2017-06-101-2/+2
| | | | | | | | ECDH is compiled
| * FFI: ECDSA an ECDH keys loading from mpi. CleanupKrzysztof Kwiatkowski2017-06-102-83/+116
| | | | | | | | | | * Be more C++ and use templates instead of string comparision * Move private functions to namespace at the top of the file
| * FFI: Add functions specific to ECDSA and ECDHKrzysztof Kwiatkowski2017-06-103-15/+76
| |
| * FFI: Posibility to load EC pubkeyKrzysztof Kwiatkowski2017-06-103-8/+50
| |
| * FFI: Posibility to load EC privkeyKrzysztof Kwiatkowski2017-06-103-47/+84
| |
* | Update OCB ref to RFC, and add new test vectorsJack Lloyd2017-06-122-2/+100
|/
* Merge GH #1066 Add Ed25519 signature schemeJack Lloyd2017-06-0920-1/+8322
|\
| * Fix 32-bit error in Ed25519Jack Lloyd2017-06-093-24/+21
| | | | | | | | Blamed VC miscompilation but actually a bug on my part.
| * Enable Ed25519 in 'modern' policyJack Lloyd2017-06-091-0/+1
| |
| * Fix FFI build when Ed25519 disabledJack Lloyd2017-06-091-1/+11
| |
| * Add FFI test and test data from PGP draftJack Lloyd2017-06-083-2/+84
| |
| * Add missing overridesJack Lloyd2017-06-081-2/+2
| |
| * Ed25519 FFIJack Lloyd2017-06-082-0/+104
| |
| * Disable Ed25519 under Visual C++Jack Lloyd2017-06-081-0/+7
| | | | | | | | Miscompiles on x86-32, even with VS2017
| * Fix inverted conditionalJack Lloyd2017-06-081-1/+1
| |
| * Avoid move operators in MSVC2013Jack Lloyd2017-06-071-2/+6
| |
| * Workaround unique_ptr conversion problem with old clangJack Lloyd2017-06-071-1/+1
| |
| * Update speedJack Lloyd2017-06-071-0/+29
| |
| * Add Ed25519 key type and testsJack Lloyd2017-06-078-25/+3733
| | | | | | | | This work was sponsored by Ribose Inc
| * Add Ed25519 implementation based on SUPERCOP ref10Jack Lloyd2017-06-079-0/+4379
| | | | | | | | This work was sponsored by Ribose Inc
* | Fix compile error in FFI when RSA disabledJack Lloyd2017-06-091-1/+1
| | | | | | | | [ci skip]
* | Add assertion to ensure key is set in OCB_Encryption::encrypt.Daniel Wyatt2017-06-091-0/+2
| | | | | | | | Otherwise we just SIGSEGV.
* | Maintainer mode fixes: old style casts, missing override, unused functionsJack Lloyd2017-06-084-37/+14
| |
* | fix doxygen build: hide method definitions with ifdefs where theZoltan Gyarmati2017-06-086-2/+10
|/ | | | | | | function declaration is already hidden, fix some param names in doxygen comments, fixes #1067 This work was sponsored by Ribose Inc (@riboseinc).
* Fix missing binary mode flag on compression ofstreamsVolker Aßmann2017-06-062-4/+4
|
* Added std::ios::binary option for istream open in compression. WithoutVolker Aßmann2017-06-051-2/+2
| | | | | this the compress/uncompress methods may produce corrupted files on Windows.
* Add --ecc-groups= option to speedJack Lloyd2017-06-041-37/+41
| | | | Instead of hardcoding which ecc groups to test in each alg.