NCBI C++ ToolKit
|
Search Toolkit Book for mbedtls_cipher_base_t
Base cipher information. More...
#include "cipher_wrap.h"
(Private to src/connect/mbedtls
.)
Public Attributes | |
mbedtls_cipher_id_t | cipher |
Base Cipher type (e.g. More... | |
int(* | ecb_func )(void *ctx, mbedtls_operation_t mode, const unsigned char *input, unsigned char *output) |
Encrypt using ECB. More... | |
int(* | setkey_enc_func )(void *ctx, const unsigned char *key, unsigned int key_bitlen) |
Set key for encryption purposes. More... | |
int(* | setkey_dec_func )(void *ctx, const unsigned char *key, unsigned int key_bitlen) |
Set key for decryption purposes. More... | |
void *(* | ctx_alloc_func )(void) |
Allocate a new context. More... | |
void(* | ctx_free_func )(void *ctx) |
Free the given context. More... | |
Base cipher information.
The non-mode specific functions and values.
Definition at line 74 of file cipher_wrap.h.
mbedtls_cipher_id_t mbedtls_cipher_base_t::cipher |
void*(* mbedtls_cipher_base_t::ctx_alloc_func) (void) |
Allocate a new context.
Definition at line 135 of file cipher_wrap.h.
void(* mbedtls_cipher_base_t::ctx_free_func) (void *ctx) |
Free the given context.
Definition at line 138 of file cipher_wrap.h.
int(* mbedtls_cipher_base_t::ecb_func) (void *ctx, mbedtls_operation_t mode, const unsigned char *input, unsigned char *output) |
Encrypt using ECB.
Definition at line 79 of file cipher_wrap.h.
int(* mbedtls_cipher_base_t::setkey_dec_func) (void *ctx, const unsigned char *key, unsigned int key_bitlen) |
Set key for decryption purposes.
Definition at line 130 of file cipher_wrap.h.
int(* mbedtls_cipher_base_t::setkey_enc_func) (void *ctx, const unsigned char *key, unsigned int key_bitlen) |
Set key for encryption purposes.
Definition at line 125 of file cipher_wrap.h.