aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi_pkey_algs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentationJack Lloyd2019-08-171-2/+2
|
* Remove support for Visual C++ 2013Jack Lloyd2018-10-011-24/+24
| | | | Closes GH #1557
* Add FFI functions for creating and getting X25519 dataJack Lloyd2018-09-101-0/+82
| | | | See GH #1680
* Fix bug introduced in 15e149acJack Lloyd2018-08-161-6/+6
| | | | | This caused get_field, when called with a non-existing field, to return success and set the field to a small negative integer.
* Avoid throwing within the FFI layerJack Lloyd2018-08-161-5/+5
| | | | No reason given we know the message is going to be thrown away.
* Combine SM2 key types for signatures and encryptionJack Lloyd2018-08-011-31/+5
| | | | | | It seems in practice the same key may be end up used for both operations, so maintaining a distinction at the type level just complicates things.
* Small post-merge fixups of #1621Jack Lloyd2018-07-041-12/+11
| | | | | | | Formatting, and fix the API revision annotations Adds pem as explicit dependency to FFI; already pubkey pulls it in but good to be explicit.
* Add RSA PKCS#1 key load and export functions to ffiRené Korthaus2018-07-041-0/+49
|
* Add functions to EC_Group for getting base point coordinatesJack Lloyd2018-02-251-2/+2
|
* Use shared representation of EC_GroupJack Lloyd2018-01-311-4/+4
| | | | Hide CurveGFp with an eye for eventual removal
* Comments from code reviewKrzysztof Kwiatkowski2018-01-221-4/+21
|
* FFI function for Elgamal key generationKrzysztof Kwiatkowski2018-01-211-0/+18
| | | | | Adds function for Elgamal key generation that allows usage of 'p' chosen by the caller.
* FFI function for DSA key generationKrzysztof Kwiatkowski2018-01-211-0/+18
| | | | | Adds function for DSA key generation that allows usage of 'p' and 'q' chosen by the caller.
* Add explicit int return type declarations on FFI lambdas.Jack Lloyd2017-12-281-21/+21
| | | | | | Sun Studio gives a strange warning about this. This probably doesn't help actually compile under Sun Studio. But it doesn't hurt to be explicit.
* Remove various unused variablesJack Lloyd2017-10-021-1/+0
| | | | Sonar finds
* Fix invalid comparison, potential segfault on invalid typeJack Lloyd2017-09-071-1/+2
| | | | Found by Coverity
* Add support for computing SM2 ZA field to FFIJack Lloyd2017-09-061-0/+36
| | | | This is a contribution from Ribose Inc.
* Simplify botan_privkey_create_XXXJack Lloyd2017-08-221-87/+16
| | | | All of these can just forward to botan_privkey_create
* Add dh functions in ffiKonstantinos Kolelis2017-08-221-0/+60
|
* Add SM2 encryption to FFIJack Lloyd2017-08-041-0/+41
| | | | Also add hooks for keygen, etc
* Fix some maintainer mode warningsJack Lloyd2017-08-031-6/+6
|
* Split up ffi.cpp into several filesJack Lloyd2017-07-311-0/+757
It was getting pretty big and would get worse over time, eg whenver I get around to adding TLS support.