aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove debug printsJack Lloyd2017-06-301-17/+1
|
* Add SM2 signature schemeJack Lloyd2017-06-2916-2/+671
| | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc).
* 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.
* Merge GH #1087 Update Doxygen comment for X509_Certificate::subject_info [ci ↵Jack Lloyd2017-06-231-2/+4
|\ | | | | | | skip]
| * Update Doxygen for X509_Certificate::subject_infoDaniel Neus2017-06-231-2/+4
|/
* Update newsJack Lloyd2017-06-211-0/+5
|
* 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
| |
* | Update readme with recently added algosJack Lloyd2017-06-201-3/+4
| |
* | 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
* | | Merge GH #1081 Fix windows build issue GH #1078Jack Lloyd2017-06-201-1/+1
|\ \ \ | |/ / |/| |
| * | Fix for #1078Baruch2017-06-191-1/+1
|/ /
* | Merge GH #1079 Update manual on key checks [ci skip]Jack Lloyd2017-06-161-1/+25
|\ \
| * | Updated key checking in manualNever2017-06-161-1/+25
|/ /
* | 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
|/
* Update newsJack Lloyd2017-06-091-6/+8
|
* Merge GH #1066 Add Ed25519 signature schemeJack Lloyd2017-06-0922-9/+8323
|\
| * Fix 32-bit error in Ed25519Jack Lloyd2017-06-093-24/+21
| | | | | | | | Blamed VC miscompilation but actually a bug on my part.
| * Update docsJack Lloyd2017-06-092-8/+1
| |
| * 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
| |