aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/ffi.h
Commit message (Collapse)AuthorAgeFilesLines
* Correct version annotation for botan_rng_init_customJack Lloyd2021-04-151-1/+1
|
* Add API to register custom RNG with FFI APIRené Fischer2021-02-181-0/+15
|
* Make it possible to DER encode signatures through FFI APIJack Lloyd2020-05-151-0/+3
| | | | GH #2356
* Add documentation for CRL API in FFI and Python bindingPavol Žáčik2019-12-031-13/+20
|
* Add basic CRL handling to FFI APIPavol Žáčik2019-12-031-0/+28
|
* fix missing ErrorType::RoughtimeError on switchesNuno Goncalves2019-10-161-0/+1
| | | | Signed-off-by: Nuno Goncalves <[email protected]>
* Deprecate some more redundant ffi functionsJack Lloyd2019-08-191-10/+31
|
* Document that FFI destroy operations can failJack Lloyd2019-05-291-3/+37
|
* Correct documentation for botan_rng_initJack Lloyd2019-05-281-2/+5
| | | | Fixes #1984
* More Python API enhancements.Jack Lloyd2019-04-271-27/+46
| | | | Deprecate various redundant FFI functions
* Fix C function prototypes.JornVernee2019-04-211-6/+6
|
* Remove unimplemented function declJack Lloyd2019-04-191-3/+0
|
* Use script to generate Python FFI declsJack Lloyd2019-04-191-7/+0
| | | | Remove unimplemented declaration botan_x509_cert_gen_selfsigned
* Avoid C++ style comments in headers that may be parsed as CJack Lloyd2019-04-191-64/+6
| | | | | Also remove the TLS declarations from ffi.h for now since that isn't supported at all.
* Make exceptions easier to translate to error codesJack Lloyd2018-11-231-0/+12
| | | | | | | | | | | Avoid throwing base Botan::Exception type, as it is difficult to determine what the error is in that case. Add Exception::error_code and Exception::error_type which allows (for error code) more information about the error and (for error type) allows knowing the error type without requiring a sequence of catches. See GH #1742
* In FFI pwdhash functions, let len == 0 mean "call strlen"Jack Lloyd2018-09-131-0/+4
|
* Merge GH #1670 New password hashing interfaceJack Lloyd2018-09-131-2/+55
|\
| * Fix Doxygen commentsJack Lloyd2018-09-101-2/+4
| |
| * Add FFIJack Lloyd2018-09-101-2/+53
| | | | | | | | This is a contribution of Ribose Inc (@riboseinc)
* | Some document fixesJack Lloyd2018-09-131-8/+13
| | | | | | | | | | Downgrade min Sphinx to 1.2 again - I checked and while Sphinx 1.2 produce many warnings it does generate usable output.
* | Add FFI functions for creating and getting X25519 dataJack Lloyd2018-09-101-0/+16
|/ | | | See GH #1680
* Add botan_cipher_reset to FFIJack Lloyd2018-08-171-0/+10
|
* Add args for botan FFI cert verification for hostname and timeJack Lloyd2018-08-161-1/+3
|
* Add botan_x509_cert_dupJack Lloyd2018-08-161-2/+4
|
* Add TOTP to FFIJack Lloyd2018-08-161-0/+47
|
* Expose HOTP to FFIJack Lloyd2018-08-151-0/+36
|
* Update comments in FFI headerJack Lloyd2018-08-151-43/+138
| | | | | | Add/fix Doxygen comments. Remove warning which is not really true anymore.
* Remove support for 8 or 16 bit BigInt wordsJack Lloyd2018-08-151-0/+3
| | | | | | | | | | It turned out 8 bit was very broken (failed to compile, due to overload problems with functions taking uint8_t vs word). 16 bit words work aside from a test failure, but is really slow. Practically speaking we are not in a position to support 16-bit CPUs very well. And being able to assume sizeof(word) >= sizeof(uint32_t) allows simplifying some code.
* Add path validation to FFIJack Lloyd2018-08-131-1/+33
|
* De-inline ffi_guard_thunkJack Lloyd2018-08-131-0/+1
| | | | Saves about 300 Kb of code space in the FFI object files
* Add function to return the size of a key agreement outputJack Lloyd2018-08-121-0/+2
| | | | Very useful when using "Raw" DH/ECDH via the FFI API.
* Better error checking in Python wrapperJack Lloyd2018-08-111-1/+1
| | | | | | Adopt APIs added in 2.8 Expose botan_error_description which was added in 2.5 but not exported!
* Put bcrypt decls in ffi in same placeJack Lloyd2018-08-111-22/+22
|
* Add botan_cipher_get_keyspecJack Lloyd2018-08-111-5/+11
| | | | | | | botan_cipher_query_keylen doesn't return the modulus. Renames (recently added/unreleased) botan_{block_cipher,mac}_query_keylen to x_get_keyspec so the names are consistent.
* Add some useful FFI functionsJack Lloyd2018-08-101-0/+22
|
* Add a function to query output length of symmetric cipherJack Lloyd2018-08-101-0/+2
|
* Add functions to get size of PK ciphertext,plaintextJack Lloyd2018-08-101-3/+13
| | | | Needed for https://github.com/strongswan/strongswan/pull/109
* Add FFI function to get signature output lengthJack Lloyd2018-08-101-0/+2
|
* Clarify comment on botan_privkey_loadJack Lloyd2018-08-021-1/+1
|
* Avoid requirement to set rng in botan_privkey_loadJack Lloyd2018-08-011-3/+5
|
* Add botan_mac_query_keylenJack Lloyd2018-07-241-1/+13
|
* Add botan_block_cipher_query_keylen plus some new FFI error codesJack Lloyd2018-07-241-0/+14
|
* Add FFI funcs to get algo name from cipher, MAC and hash objsJack Lloyd2018-07-191-10/+44
|
* Add FPE1 to C APIJack Lloyd2018-07-131-0/+22
| | | | GH #1612
* Small post-merge fixups of #1621Jack Lloyd2018-07-041-8/+8
| | | | | | | 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/+8
|
* Make FFI errors an enum, and add a function to translate to stringsJack Lloyd2018-02-071-53/+27
|
* Add botan_x509_cert_hostname_matchJack Lloyd2018-01-301-0/+6
|
* Comments from code reviewKrzysztof Kwiatkowski2018-01-221-2/+50
|
* FFI function for Elgamal key generationKrzysztof Kwiatkowski2018-01-211-0/+1
| | | | | Adds function for Elgamal key generation that allows usage of 'p' chosen by the caller.