Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate some more redundant ffi functions | Jack Lloyd | 2019-08-19 | 1 | -10/+31 |
| | |||||
* | Document that FFI destroy operations can fail | Jack Lloyd | 2019-05-29 | 1 | -3/+37 |
| | |||||
* | Correct documentation for botan_rng_init | Jack Lloyd | 2019-05-28 | 1 | -2/+5 |
| | | | | Fixes #1984 | ||||
* | More Python API enhancements. | Jack Lloyd | 2019-04-27 | 1 | -27/+46 |
| | | | | Deprecate various redundant FFI functions | ||||
* | Fix C function prototypes. | JornVernee | 2019-04-21 | 1 | -6/+6 |
| | |||||
* | Remove unimplemented function decl | Jack Lloyd | 2019-04-19 | 1 | -3/+0 |
| | |||||
* | Use script to generate Python FFI decls | Jack Lloyd | 2019-04-19 | 1 | -7/+0 |
| | | | | Remove unimplemented declaration botan_x509_cert_gen_selfsigned | ||||
* | Avoid C++ style comments in headers that may be parsed as C | Jack Lloyd | 2019-04-19 | 1 | -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 codes | Jack Lloyd | 2018-11-23 | 1 | -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 Lloyd | 2018-09-13 | 1 | -0/+4 |
| | |||||
* | Merge GH #1670 New password hashing interface | Jack Lloyd | 2018-09-13 | 1 | -2/+55 |
|\ | |||||
| * | Fix Doxygen comments | Jack Lloyd | 2018-09-10 | 1 | -2/+4 |
| | | |||||
| * | Add FFI | Jack Lloyd | 2018-09-10 | 1 | -2/+53 |
| | | | | | | | | This is a contribution of Ribose Inc (@riboseinc) | ||||
* | | Some document fixes | Jack Lloyd | 2018-09-13 | 1 | -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 data | Jack Lloyd | 2018-09-10 | 1 | -0/+16 |
|/ | | | | See GH #1680 | ||||
* | Add botan_cipher_reset to FFI | Jack Lloyd | 2018-08-17 | 1 | -0/+10 |
| | |||||
* | Add args for botan FFI cert verification for hostname and time | Jack Lloyd | 2018-08-16 | 1 | -1/+3 |
| | |||||
* | Add botan_x509_cert_dup | Jack Lloyd | 2018-08-16 | 1 | -2/+4 |
| | |||||
* | Add TOTP to FFI | Jack Lloyd | 2018-08-16 | 1 | -0/+47 |
| | |||||
* | Expose HOTP to FFI | Jack Lloyd | 2018-08-15 | 1 | -0/+36 |
| | |||||
* | Update comments in FFI header | Jack Lloyd | 2018-08-15 | 1 | -43/+138 |
| | | | | | | Add/fix Doxygen comments. Remove warning which is not really true anymore. | ||||
* | Remove support for 8 or 16 bit BigInt words | Jack Lloyd | 2018-08-15 | 1 | -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 FFI | Jack Lloyd | 2018-08-13 | 1 | -1/+33 |
| | |||||
* | De-inline ffi_guard_thunk | Jack Lloyd | 2018-08-13 | 1 | -0/+1 |
| | | | | Saves about 300 Kb of code space in the FFI object files | ||||
* | Add function to return the size of a key agreement output | Jack Lloyd | 2018-08-12 | 1 | -0/+2 |
| | | | | Very useful when using "Raw" DH/ECDH via the FFI API. | ||||
* | Better error checking in Python wrapper | Jack Lloyd | 2018-08-11 | 1 | -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 place | Jack Lloyd | 2018-08-11 | 1 | -22/+22 |
| | |||||
* | Add botan_cipher_get_keyspec | Jack Lloyd | 2018-08-11 | 1 | -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 functions | Jack Lloyd | 2018-08-10 | 1 | -0/+22 |
| | |||||
* | Add a function to query output length of symmetric cipher | Jack Lloyd | 2018-08-10 | 1 | -0/+2 |
| | |||||
* | Add functions to get size of PK ciphertext,plaintext | Jack Lloyd | 2018-08-10 | 1 | -3/+13 |
| | | | | Needed for https://github.com/strongswan/strongswan/pull/109 | ||||
* | Add FFI function to get signature output length | Jack Lloyd | 2018-08-10 | 1 | -0/+2 |
| | |||||
* | Clarify comment on botan_privkey_load | Jack Lloyd | 2018-08-02 | 1 | -1/+1 |
| | |||||
* | Avoid requirement to set rng in botan_privkey_load | Jack Lloyd | 2018-08-01 | 1 | -3/+5 |
| | |||||
* | Add botan_mac_query_keylen | Jack Lloyd | 2018-07-24 | 1 | -1/+13 |
| | |||||
* | Add botan_block_cipher_query_keylen plus some new FFI error codes | Jack Lloyd | 2018-07-24 | 1 | -0/+14 |
| | |||||
* | Add FFI funcs to get algo name from cipher, MAC and hash objs | Jack Lloyd | 2018-07-19 | 1 | -10/+44 |
| | |||||
* | Add FPE1 to C API | Jack Lloyd | 2018-07-13 | 1 | -0/+22 |
| | | | | GH #1612 | ||||
* | Small post-merge fixups of #1621 | Jack Lloyd | 2018-07-04 | 1 | -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 ffi | René Korthaus | 2018-07-04 | 1 | -0/+8 |
| | |||||
* | Make FFI errors an enum, and add a function to translate to strings | Jack Lloyd | 2018-02-07 | 1 | -53/+27 |
| | |||||
* | Add botan_x509_cert_hostname_match | Jack Lloyd | 2018-01-30 | 1 | -0/+6 |
| | |||||
* | Comments from code review | Krzysztof Kwiatkowski | 2018-01-22 | 1 | -2/+50 |
| | |||||
* | FFI function for Elgamal key generation | Krzysztof Kwiatkowski | 2018-01-21 | 1 | -0/+1 |
| | | | | | Adds function for Elgamal key generation that allows usage of 'p' chosen by the caller. | ||||
* | FFI function for DSA key generation | Krzysztof Kwiatkowski | 2018-01-21 | 1 | -0/+1 |
| | | | | | Adds function for DSA key generation that allows usage of 'p' and 'q' chosen by the caller. | ||||
* | Simplify ffi call overhead | Jack Lloyd | 2017-10-11 | 1 | -0/+1 |
| | | | | Notable reductions in code size, stack size and function call overhead. | ||||
* | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 1 | -2/+2 |
| | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | Complete the final annotation changes | Jack Lloyd | 2017-09-19 | 1 | -47/+47 |
| | |||||
* | More annotations | Jack Lloyd | 2017-09-19 | 1 | -275/+298 |
| | |||||
* | Use constant_time_compare instead of same_mem | Jack Lloyd | 2017-09-16 | 1 | -0/+5 |
| | | | | New name, same great operation |