Data Fields |
cipher_id_t | cipher |
| Base Cipher type (e.g.
|
int(* | cbc_func )(void *ctx, operation_t mode, size_t length, unsigned char *iv, const unsigned char *input, unsigned char *output) |
| Encrypt using CBC.
|
int(* | cfb128_func )(void *ctx, operation_t mode, size_t length, size_t *iv_off, unsigned char *iv, const unsigned char *input, unsigned char *output) |
| Encrypt using CFB128.
|
int(* | ctr_func )(void *ctx, size_t length, size_t *nc_off, unsigned char *nonce_counter, unsigned char *stream_block, const unsigned char *input, unsigned char *output) |
| Encrypt using CTR.
|
int(* | setkey_enc_func )(void *ctx, const unsigned char *key, unsigned int key_length) |
| Set key for encryption purposes.
|
int(* | setkey_dec_func )(void *ctx, const unsigned char *key, unsigned int key_length) |
| Set key for decryption purposes.
|
void *(* | ctx_alloc_func )(void) |
| Allocate a new context.
|
void(* | ctx_free_func )(void *ctx) |
| Free the given context.
|
Base cipher information.
The non-mode specific functions and values.
Definition at line 112 of file cipher.h.