Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update test for new error return | Jack Lloyd | 2017-10-11 | 1 | -1/+1 |
| | |||||
* | Fix test error if mceies disabled | Jack Lloyd | 2017-09-29 | 1 | -3/+5 |
| | | | | [ci skip] | ||||
* | Further header cleanups | Jack Lloyd | 2017-09-28 | 1 | -0/+1 |
| | |||||
* | Further build/test fixes for restricted configurations | Jack Lloyd | 2017-09-24 | 1 | -0/+4 |
| | |||||
* | Add final annotations as appropriate in the test code | Jack Lloyd | 2017-09-22 | 1 | -1/+1 |
| | |||||
* | Fix the SM2 FFI test | Jack Lloyd | 2017-09-21 | 1 | -3/+4 |
| | |||||
* | Fix leaks in FFI tests | Jack Lloyd | 2017-09-20 | 1 | -0/+6 |
| | |||||
* | Fix bogus ffi test | Jack Lloyd | 2017-09-10 | 1 | -1/+1 |
| | | | | Caught by a warning from VC | ||||
* | Fix loading of plaintext PKCS#8 private keys | René Korthaus | 2017-09-08 | 1 | -3/+10 |
| | | | | | We fixed this in the C++ API in GH #381, but apparently not in ffi. Also adds the missing tests. | ||||
* | Merge GH #1189 Correct return value of botan_pk_op_verify_finish | Jack Lloyd | 2017-09-07 | 1 | -9/+9 |
|\ | |||||
| * | Correct return value of botan_pk_op_verify_finish | Jack Lloyd | 2017-09-06 | 1 | -9/+9 |
| | | | | | | | | | | | | | | This function changed behavior in 0d403a3 see also GH #1187 Add new return code BOTAN_FFI_INVALID_VERIFIER and use it for both signature and bcrypt verification functions. | ||||
* | | Add support for computing SM2 ZA field to FFI | Jack Lloyd | 2017-09-06 | 1 | -0/+8 |
|/ | | | | This is a contribution from Ribose Inc. | ||||
* | More MSVC warnings fixes | Jack Lloyd | 2017-08-31 | 1 | -2/+2 |
| | |||||
* | Simplify botan_privkey_create_XXX | Jack Lloyd | 2017-08-22 | 1 | -2/+2 |
| | | | | All of these can just forward to botan_privkey_create | ||||
* | Add dh functions in ffi | Konstantinos Kolelis | 2017-08-22 | 1 | -7/+128 |
| | |||||
* | Add botan_hex_decode, botan_base64_encode, botan_base64_decode FFI funcs | Jack Lloyd | 2017-08-15 | 1 | -0/+30 |
| | |||||
* | FFI test must search test data relative to data dir. | Alexander Bluhm | 2017-08-13 | 1 | -1/+1 |
| | | | | | | | The Test::data_file() method adds the current data dir prefix to the test data path so that it can be overwritten with the --data-dir option. This was missing in the ffi test and could result in a botan_x509_cert_load_file exception. | ||||
* | A few more FFI tests | Jack Lloyd | 2017-08-07 | 1 | -1/+39 |
| | |||||
* | Add SM2 encryption to FFI | Jack Lloyd | 2017-08-04 | 1 | -1/+72 |
| | | | | Also add hooks for keygen, etc | ||||
* | Add test for FFI keywrap, and constify args | Jack Lloyd | 2017-07-31 | 1 | -0/+37 |
| | |||||
* | Change arbitrary privkey size to a smaller arbitrary number. | Jack Lloyd | 2017-07-24 | 1 | -1/+1 |
| | | | | | | GH #1122 [ci skip] | ||||
* | Add SM2 signature scheme | Jack Lloyd | 2017-06-29 | 1 | -0/+92 |
| | | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc). | ||||
* | FFI: ECDSA an ECDH keys loading from mpi. Cleanup | Krzysztof Kwiatkowski | 2017-06-10 | 1 | -6/+26 |
| | | | | | * Be more C++ and use templates instead of string comparision * Move private functions to namespace at the top of the file | ||||
* | FFI: Add functions specific to ECDSA and ECDH | Krzysztof Kwiatkowski | 2017-06-10 | 1 | -2/+2 |
| | |||||
* | FFI: Posibility to load EC pubkey | Krzysztof Kwiatkowski | 2017-06-10 | 1 | -7/+17 |
| | |||||
* | FFI: Posibility to load EC privkey | Krzysztof Kwiatkowski | 2017-06-10 | 1 | -47/+53 |
| | |||||
* | Add FFI test and test data from PGP draft | Jack Lloyd | 2017-06-08 | 1 | -0/+68 |
| | |||||
* | Add FFI func botan_scrub_mem | Jack Lloyd | 2017-05-29 | 1 | -0/+4 |
| | |||||
* | Add botan_hash_copy_state FFI function. | Daniel Wyatt | 2017-05-25 | 1 | -0/+20 |
| | |||||
* | Add botan_pkcs_hash_id to FFI | Jack Lloyd | 2017-05-18 | 1 | -0/+27 |
| | | | | | | Extend EMSA_PKCS1v15_Raw to optionally take a hash function for which the PKCS hash id is prefixed to the message as usual. This allows signing a message using PKCSv1.5 padding where the hash is provided externally. | ||||
* | Fix botan_privkey_load_rsa misleading parameter names. | Daniel Wyatt | 2017-05-13 | 1 | -1/+1 |
| | | | | RSA_PrivateKey's constructor take p,q,e,d,n. | ||||
* | Merge GH #1036 Add FFI botan_hash_block_size | Jack Lloyd | 2017-05-03 | 1 | -0/+5 |
|\ | |||||
| * | Add FFI botan_hash_block_size. | Daniel Wyatt | 2017-04-30 | 1 | -0/+5 |
| | | |||||
* | | Fix some ugly line breaks from #980 in test_ffi | Jack Lloyd | 2017-05-03 | 1 | -25/+26 |
| | | |||||
* | | Reformat code with astyle + fix code style | Tomasz Frydrych | 2017-05-01 | 1 | -86/+111 |
|/ | |||||
* | Add explicit return to FFI botan_mp_to_str. | Daniel Wyatt | 2017-04-26 | 1 | -0/+3 |
| | | | | This way we know if the buffer is insufficient. | ||||
* | Merge GH #1006 Fix FFI cipher interface (see also GH #1003) | Jack Lloyd | 2017-04-15 | 1 | -65/+205 |
|\ | |||||
| * | Add tests of GCM and CTR mode | Jack Lloyd | 2017-04-14 | 1 | -64/+205 |
| | | |||||
| * | Fix FFI cipher interface | Jack Lloyd | 2017-04-14 | 1 | -11/+10 |
| | | | | | | | | | | | | Was totally broken, when not encrypting in one shot. (GH #1003) Enable the test, which had been commented out :( | ||||
* | | Support for ElGamal in FFI interface | Krzysztof Kwiatkowski | 2017-04-14 | 1 | -0/+76 |
|/ | | | | | | * Adds `botan_pubkey_load_elgamal' and `botan_privkey_load_elgamal' functions to FFI interface. * Adds test `ffi_test_elgamal' | ||||
* | Add block cipher interface to C API | Jack Lloyd | 2017-04-04 | 1 | -0/+37 |
| | |||||
* | Merge GH #964 Add various useful FFI functions for public key crypto | Jack Lloyd | 2017-04-04 | 1 | -0/+128 |
|\ | |||||
| * | Implement botan_pubkey_load | Jack Lloyd | 2017-04-03 | 1 | -1/+6 |
| | | | | | | | | Declared in header, but was not defined. :( | ||||
| * | Fix botan_privkey_create if the desired algorithm was not available in build | Jack Lloyd | 2017-04-03 | 1 | -1/+18 |
| | | | | | | | | | | | | If DSA was disabled, caused memory corruption/crashes due to combination of uninitialized object and the tests not checking return values as carefully as they should. | ||||
| * | Add generic getters for PK parameters in C interface | Jack Lloyd | 2017-04-02 | 1 | -0/+106 |
| | | | | | | | | Supporting RSA, DSA, and ECC. Add also DSA specific loading functions. | ||||
* | | Add some more useful bigint functions to C interface | Jack Lloyd | 2017-03-31 | 1 | -0/+50 |
|/ | |||||
* | Merge GH #899 Add ability to specify iterations when encrypting a private key | Jack Lloyd | 2017-03-29 | 1 | -20/+8 |
|\ | |||||
| * | Add ability to specify iterations when encrypting a private key | Jack Lloyd | 2017-02-26 | 1 | -20/+8 |
| | | | | | | | | GH #896 | ||||
* | | Expose BigInt API subset to C API | Jack Lloyd | 2017-03-28 | 1 | -7/+226 |
| | | | | | | | | Also adds RSA key constructors using BN | ||||
* | | Expose PK::check_key functions in C interface | Jack Lloyd | 2017-03-27 | 1 | -0/+3 |
|/ |