Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add TOTP to FFI | Jack Lloyd | 2018-08-16 | 5 | -5/+182 |
| | |||||
* | For HOTP/TOTP allow a key/len pair instead of requiring SymmetricKey | Jack Lloyd | 2018-08-16 | 5 | -9/+36 |
| | |||||
* | Expose HOTP to FFI | Jack Lloyd | 2018-08-15 | 5 | -5/+174 |
| | |||||
* | More FFI tests | Jack Lloyd | 2018-08-15 | 1 | -0/+54 |
| | |||||
* | Fix some Doxygen warnings | Jack Lloyd | 2018-08-15 | 3 | -4/+2 |
| | |||||
* | 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. | ||||
* | Update news | Jack Lloyd | 2018-08-15 | 2 | -5/+6 |
| | |||||
* | Remove support for 8 or 16 bit BigInt words | Jack Lloyd | 2018-08-15 | 7 | -29/+52 |
| | | | | | | | | | | 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. | ||||
* | In speed test, check for availability of NIST reducer functions | Jack Lloyd | 2018-08-15 | 1 | -0/+2 |
| | | | | This caused compilation to fail if MP_WORD_BITS was 8 or 16 | ||||
* | Fix BigInt::to_{dec,hex}_string for zero | Jack Lloyd | 2018-08-15 | 1 | -1/+8 |
| | | | | They returned an empty string instead | ||||
* | Cleanup of BigInt encoding/decoding functions | Jack Lloyd | 2018-08-14 | 6 | -33/+162 |
| | | | | | | | | | | | | | Instigated by finding a bug where BigInt::encode with decimal output would often have a leading '0' char. Which is papered over in the IO operator, but was exposed by botan_mp_to_str which called BigInt::encode directly. Split BigInt::encode/decode into two versions, one taking the Base argument and the other using the (previously default) binary base. With a view of eventually deprecating the versions taking a base. Add BigInt::to_dec_string() and BigInt::to_hex_string() | ||||
* | More todos [ci skip] | Jack Lloyd | 2018-08-14 | 1 | -0/+2 |
| | |||||
* | More FFI docs [ci skip] | Jack Lloyd | 2018-08-14 | 1 | -2/+23 |
| | |||||
* | Add some additional null pointer arg checks to FFI | Jack Lloyd | 2018-08-14 | 4 | -29/+66 |
| | |||||
* | Document more of FFI interface | Jack Lloyd | 2018-08-14 | 1 | -14/+209 |
| | |||||
* | Merge GH #1647 Add X.509 path validation to FFI | Jack Lloyd | 2018-08-14 | 6 | -3/+182 |
|\ | |||||
| * | Add path validation to FFI | Jack Lloyd | 2018-08-13 | 6 | -3/+182 |
| | | |||||
* | | If configure fails, direct users to GH issues [ci skip] | Jack Lloyd | 2018-08-14 | 1 | -4/+2 |
| | | | | | | | | Better place for problems like this. | ||||
* | | Merge GH #1648 Add XChaCha20Poly1305 tests generated by libsodium | Jack Lloyd | 2018-08-13 | 1 | -0/+9362 |
|\ \ | |||||
| * | | Add XChaCha20Poly1305 test vectors generated by libsodium | Simon Warta | 2018-08-13 | 1 | -0/+9362 |
| |/ | | | | | | | | | | | | | This adds a set of XChaCha20Poly1305 test vectors generated by libsodium. Those are systematically created in https://github.com/webmaster128/xchacha20poly1305-testvectors and include tests with empty messages and non-empty additional data. | ||||
* / | Expose RDRAND RNG through FFI | Jack Lloyd | 2018-08-13 | 6 | -46/+86 |
|/ | |||||
* | Update news | Jack Lloyd | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | Merge GH #1646 Add MPI and FPE to Python wrapper | Jack Lloyd | 2018-08-13 | 6 | -193/+779 |
|\ | |||||
| * | Add MPI and FPE to Python wrapper | Jack Lloyd | 2018-08-13 | 3 | -159/+727 |
| | | | | | | | | | | Also make all member variables private (__ prefix), and rename classes to match Python conventions | ||||
| * | De-inline ffi_guard_thunk | Jack Lloyd | 2018-08-13 | 3 | -34/+52 |
| | | | | | | | | Saves about 300 Kb of code space in the FFI object files | ||||
* | | Add some final annotations | Jack Lloyd | 2018-08-13 | 4 | -4/+4 |
| | | |||||
* | | Add missing override annotations [ci skip] | Jack Lloyd | 2018-08-13 | 2 | -2/+2 |
|/ | |||||
* | Better error reporting for FFI | Jack Lloyd | 2018-08-12 | 3 | -6/+18 |
| | | | | | Previously safe_get(x) where x was null would return an error about an exception being thrown, instead of a null pointer error. | ||||
* | Fix for OpenSSL | Jack Lloyd | 2018-08-12 | 1 | -0/+4 |
| | |||||
* | Add function to return the size of a key agreement output | Jack Lloyd | 2018-08-12 | 11 | -8/+47 |
| | | | | Very useful when using "Raw" DH/ECDH via the FFI API. | ||||
* | Avoid trying to use symlinks by default on any Windows platforms | Jack Lloyd | 2018-08-12 | 1 | -4/+6 |
| | | | | GH #1645 | ||||
* | Update manual for Python module | Jack Lloyd | 2018-08-11 | 1 | -30/+83 |
| | |||||
* | Update news | Jack Lloyd | 2018-08-11 | 1 | -0/+3 |
| | |||||
* | Merge GH #1643 Refresh of Python module | Jack Lloyd | 2018-08-11 | 3 | -395/+588 |
|\ | |||||
| * | Fix Python2 problem | Jack Lloyd | 2018-08-11 | 2 | -1/+8 |
| | | |||||
| * | In Python expose new name getters | Jack Lloyd | 2018-08-11 | 2 | -2/+36 |
| | | |||||
| * | Convert Python tests to actual unit tests | Jack Lloyd | 2018-08-11 | 2 | -168/+122 |
| | | |||||
| * | Add scrypt to Python | Jack Lloyd | 2018-08-11 | 2 | -4/+34 |
| | | |||||
| * | Better error checking in Python wrapper | Jack Lloyd | 2018-08-11 | 3 | -213/+381 |
| | | | | | | | | | | | | 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 | 5 | -21/+48 |
| | | | | | | | 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 | 5 | -7/+95 |
| | |||||
* | Optimize computation of CTR input blocks | Jack Lloyd | 2018-08-10 | 2 | -9/+14 |
| | | | | | | | | We don't need to read each block since we know what is there Improves CTR perf with AES-NI by 5-6%, also helps GCM GH #969 | ||||
* | Specialize CTR::seek for 4-byte counters | Jack Lloyd | 2018-08-10 | 1 | -5/+19 |
| | | | | | When used with AES-128 on Skylake (AES-NI), improves GCM performance by 10% on small messages and 5% on 1K messages. | ||||
* | GHASH should check the nonce size | Jack Lloyd | 2018-08-10 | 1 | -0/+1 |
| | |||||
* | Correct documentation [ci skip] | Jack Lloyd | 2018-08-10 | 1 | -4/+4 |
| | |||||
* | Fix FFI test | Jack Lloyd | 2018-08-10 | 1 | -1/+3 |
| | | | | This could fail if the random plaintext was of zero length | ||||
* | Lint fix | Jack Lloyd | 2018-08-10 | 1 | -1/+1 |
| | |||||
* | Fix ECIES tests when cipher was disabled | Jack Lloyd | 2018-08-10 | 1 | -14/+14 |
| | | | | Now the constructor throws instead of the encrypt/decrypt op | ||||
* | Add a function to query output length of symmetric cipher | Jack Lloyd | 2018-08-10 | 6 | -6/+31 |
| |