|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <botan/ffi.h>#include <botan/internal/ffi_util.h>Go to the source code of this file.
Functions | |
| int | botan_key_unwrap3394 (const uint8_t wrapped_key[], size_t wrapped_key_len, const uint8_t kek[], size_t kek_len, uint8_t key[], size_t *key_len) |
| int | botan_key_wrap3394 (const uint8_t key[], size_t key_len, const uint8_t kek[], size_t kek_len, uint8_t wrapped_key[], size_t *wrapped_key_len) |
| int botan_key_unwrap3394 | ( | const uint8_t | wrapped_key[], |
| size_t | wrapped_key_len, | ||
| const uint8_t | kek[], | ||
| size_t | kek_len, | ||
| uint8_t | key[], | ||
| size_t * | key_len | ||
| ) |
Definition at line 34 of file ffi_keywrap.cpp.
References BOTAN_FFI_ERROR_NOT_IMPLEMENTED, Botan_FFI::ffi_guard_thunk(), Botan::rfc3394_keyunwrap(), and Botan_FFI::write_vec_output().
| int botan_key_wrap3394 | ( | const uint8_t | key[], |
| size_t | key_len, | ||
| const uint8_t | kek[], | ||
| size_t | kek_len, | ||
| uint8_t | wrapped_key[], | ||
| size_t * | wrapped_key_len | ||
| ) |
Key wrapping as per RFC 3394
Definition at line 18 of file ffi_keywrap.cpp.
References BOTAN_FFI_ERROR_NOT_IMPLEMENTED, Botan_FFI::ffi_guard_thunk(), Botan::rfc3394_keywrap(), and Botan_FFI::write_vec_output().
1.8.9.1