aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffi/info.txt
Commit message (Collapse)AuthorAgeFilesLines
* Update FFI versionJack Lloyd2017-08-151-1/+1
| | | | | | | Also fix botan_ffi_supports_api to return true for any supported version (2.0, 2.1/2.2, and 2.3). Really 2.2 should have had its own FFI version code since there were already many FFI API additions in that release.
* Split up ffi.cpp into several filesJack Lloyd2017-07-311-0/+11
| | | | | It was getting pretty big and would get worse over time, eg whenver I get around to adding TLS support.
* Remove "Dirty hack" for multiple defines in lex_me_harder()Simon Warta2017-04-021-2/+3
|
* Expose BigInt API subset to C APIJack Lloyd2017-03-281-1/+2
| | | | Also adds RSA key constructors using BN
* Don't force HMAC_DRBG to be enabledJack Lloyd2016-11-181-0/+1
| | | | | No need to strictly require it, and some applications may only want system RNG or RDRAND.
* Switch to HMAC_DRBG for all RNG generation.Jack Lloyd2016-07-171-1/+0
| | | | | | | | Add support and tests for additional_data param to HMAC_DRBG Add Stateful_RNG class which has fork detection and periodic reseeding. AutoSeeded_RNG passes the current pid and time as additional_data
* Fix botan.py for Python3Jack Lloyd2015-10-201-1/+1
| | | | | | | | | Remove any need for callers to do version checks or encode values specially to handle Python2 vs Python3 ctypes differences. API users shouldn't have to care about that - encapsulate the differences in a few functions for handling the conversions. Add botan_cipher_query_keylen to ffi
* Move DataSource to utils and rewrite PEM encoding to avoid filtersJack Lloyd2015-10-141-1/+0
| | | | | Removes filters as as an internal dependency pretty much entirely (outside of some dusty corners in misc).
* Add McEliece keygen and MCEIES to C89 API. Plus random fiddlingJack Lloyd2015-10-011-1/+2
|
* Export X.509 certificates to ffi and pythonJack Lloyd2015-10-011-0/+1
| | | | Missing path validation, probably other things
* Add new module `ffi` which provides a plain C interface, plus a newlloyd2015-02-161-0/+12
ctypes Python wrapper that uses it. The API is intentionally designed to have a very simple ABI (extern "C", all structs are opaque, no memory ownership passing the FFI boundary, limited set of simple types as args) so the ctypes wrapper is quite simple. Currently ffi provides ciphers, hashes, MACs, RNGs, PBKDF, KDF, bcrypt, and most public key operations. Remove the old boost.python wrapper and all the build code for it.