|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <botan/ffi.h>#include <botan/internal/ffi_util.h>#include <botan/internal/ffi_mp.h>#include <memory>Go to the source code of this file.
Functions | |
| int | botan_fpe_decrypt (botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) |
| int | botan_fpe_destroy (botan_fpe_t fpe) |
| int | botan_fpe_encrypt (botan_fpe_t fpe, botan_mp_t x, const uint8_t tweak[], size_t tweak_len) |
| int | botan_fpe_fe1_init (botan_fpe_t *fpe, botan_mp_t n, const uint8_t key[], size_t key_len, size_t rounds, uint32_t flags) |
| int botan_fpe_decrypt | ( | botan_fpe_t | fpe, |
| botan_mp_t | x, | ||
| const uint8_t | tweak[], | ||
| size_t | tweak_len | ||
| ) |
Definition at line 80 of file ffi_fpe.cpp.
References BOTAN_FFI_ERROR_NOT_IMPLEMENTED, BOTAN_FFI_SUCCESS, Botan_FFI::ffi_guard_thunk(), and Botan_FFI::safe_get().
| int botan_fpe_destroy | ( | botan_fpe_t | fpe | ) |
Definition at line 58 of file ffi_fpe.cpp.
References BOTAN_FFI_CHECKED_DELETE, and BOTAN_FFI_ERROR_NOT_IMPLEMENTED.
| int botan_fpe_encrypt | ( | botan_fpe_t | fpe, |
| botan_mp_t | x, | ||
| const uint8_t | tweak[], | ||
| size_t | tweak_len | ||
| ) |
Definition at line 67 of file ffi_fpe.cpp.
References BOTAN_FFI_ERROR_NOT_IMPLEMENTED, BOTAN_FFI_SUCCESS, Botan_FFI::ffi_guard_thunk(), and Botan_FFI::safe_get().
| int botan_fpe_fe1_init | ( | botan_fpe_t * | fpe, |
| botan_mp_t | n, | ||
| const uint8_t | key[], | ||
| size_t | key_len, | ||
| size_t | rounds, | ||
| uint32_t | flags | ||
| ) |
Definition at line 26 of file ffi_fpe.cpp.
References BOTAN_FFI_ERROR_BAD_FLAG, BOTAN_FFI_ERROR_NOT_IMPLEMENTED, BOTAN_FFI_ERROR_NULL_POINTER, BOTAN_FFI_SUCCESS, BOTAN_FPE_FLAG_FE1_COMPAT_MODE, Botan_FFI::ffi_guard_thunk(), and Botan_FFI::safe_get().
1.8.9.1