diff options
author | Jack Lloyd <[email protected]> | 2017-07-25 15:24:30 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-07-31 10:31:53 -0400 |
commit | 5703b195f5dbf0a0df45bf0a7f39aa090666f877 (patch) | |
tree | 1f686ae1362aaef9eabe1db3c1a58ac0fd166a70 /src/lib/ffi/ffi.h | |
parent | bb30a1e1ffbe839478b4bf04624d841c6d9ecfc3 (diff) |
Split up ffi.cpp into several files
It was getting pretty big and would get worse over time, eg whenver
I get around to adding TLS support.
Diffstat (limited to 'src/lib/ffi/ffi.h')
-rw-r--r-- | src/lib/ffi/ffi.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/src/lib/ffi/ffi.h b/src/lib/ffi/ffi.h index e56ad5629..45cce37d2 100644 --- a/src/lib/ffi/ffi.h +++ b/src/lib/ffi/ffi.h @@ -873,22 +873,22 @@ BOTAN_DLL int botan_pubkey_ed25519_get_pubkey(botan_pubkey_t key, * Algorithm specific key operations: ECDSA and ECDH */ BOTAN_DLL int botan_privkey_load_ecdsa(botan_privkey_t* key, - const botan_mp_t scalar, - const char* curve_name); + const botan_mp_t scalar, + const char* curve_name); BOTAN_DLL int botan_pubkey_load_ecdsa(botan_pubkey_t* key, - const botan_mp_t public_x, - const botan_mp_t public_y, - const char* curve_name); + const botan_mp_t public_x, + const botan_mp_t public_y, + const char* curve_name); BOTAN_DLL int botan_pubkey_load_ecdh(botan_pubkey_t* key, - const botan_mp_t public_x, - const botan_mp_t public_y, - const char* curve_name); + const botan_mp_t public_x, + const botan_mp_t public_y, + const char* curve_name); BOTAN_DLL int botan_privkey_load_ecdh(botan_privkey_t* key, - const botan_mp_t scalar, - const char* curve_name); + const botan_mp_t scalar, + const char* curve_name); BOTAN_DLL int botan_pubkey_load_sm2(botan_pubkey_t* key, const botan_mp_t public_x, @@ -1023,9 +1023,6 @@ BOTAN_DLL int botan_x509_cert_get_serial_number(botan_x509_cert_t cert, uint8_t BOTAN_DLL int botan_x509_cert_get_authority_key_id(botan_x509_cert_t cert, uint8_t out[], size_t* out_len); BOTAN_DLL int botan_x509_cert_get_subject_key_id(botan_x509_cert_t cert, uint8_t out[], size_t* out_len); -BOTAN_DLL int botan_x509_cert_path_verify(botan_x509_cert_t cert, - const char* ca_dir); - BOTAN_DLL int botan_x509_cert_get_public_key_bits(botan_x509_cert_t cert, uint8_t out[], size_t* out_len); |