| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
New FFI features added in #1621 and #1625
|
|
|
|
|
|
|
| |
Formatting, and fix the API revision annotations
Adds pem as explicit dependency to FFI; already pubkey pulls it in
but good to be explicit.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
It was getting pretty big and would get worse over time, eg whenver
I get around to adding TLS support.
|
| |
|
|
|
|
| |
Also adds RSA key constructors using BN
|
|
|
|
|
| |
No need to strictly require it, and some applications may only want
system RNG or RDRAND.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Removes filters as as an internal dependency pretty much entirely
(outside of some dusty corners in misc).
|
| |
|
|
|
|
| |
Missing path validation, probably other things
|
|
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.
|