diff options
author | Jack Lloyd <[email protected]> | 2020-11-06 09:53:39 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-06 09:53:39 -0500 |
commit | 7c27982e27b953682554de3c4b22843e0e7461e7 (patch) | |
tree | 74480b4685262e52fda467c64cedf9d2031b0c6e /src/lib/ffi/ffi.h | |
parent | 332c2c088465f3e0e5fe498ba08dcc31a3e9cbd8 (diff) | |
parent | 76c1b92f320cee8a13c2071e3325d10bb1d7190d (diff) |
Merge GH #2434 Remove deprecated algorithms
Diffstat (limited to 'src/lib/ffi/ffi.h')
-rw-r--r-- | src/lib/ffi/ffi.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/ffi/ffi.h b/src/lib/ffi/ffi.h index cf8931acf..09a77ca1e 100644 --- a/src/lib/ffi/ffi.h +++ b/src/lib/ffi/ffi.h @@ -1480,11 +1480,9 @@ BOTAN_PUBLIC_API(2,0) int botan_pkcs_hash_id(const char* hash_name, uint8_t pkcs /* -* -* @param mce_key must be a McEliece key -* ct_len should be pt_len + n/8 + a few? +* Always returns BOTAN_FFI_ERROR_NOT_IMPLEMENTED */ -BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("Poorly specified, avoid in new code") +BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("No longer implemented") int botan_mceies_encrypt(botan_pubkey_t mce_key, botan_rng_t rng, const char* aead, @@ -1492,7 +1490,10 @@ int botan_mceies_encrypt(botan_pubkey_t mce_key, const uint8_t ad[], size_t ad_len, uint8_t ct[], size_t* ct_len); -BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("Poorly specified, avoid in new code") +/* +* Always returns BOTAN_FFI_ERROR_NOT_IMPLEMENTED +*/ +BOTAN_PUBLIC_API(2,0) BOTAN_DEPRECATED("No longer implemented") int botan_mceies_decrypt(botan_privkey_t mce_key, const char* aead, const uint8_t ct[], size_t ct_len, |