Embedded SDK
Embedded SDK
|
#include <lcx_cipher.h>
Public Attributes | |
cx_err_t(* | enc_func )(const uint8_t *in_block, uint8_t *out_block) |
Encryption function. More... | |
cx_err_t(* | dec_func )(const uint8_t *in_block, uint8_t *out_block) |
Decryption function. More... | |
cx_err_t(* | ctr_func )(const cipher_key_t *ctx_key, size_t len, size_t *nc_off, uint8_t *nonce_counter, uint8_t *stream_block, const uint8_t *input, uint8_t *output) |
Encryption in CTR mode. More... | |
cx_err_t(* | setkey_func )(const cipher_key_t *ctx_key, uint32_t operation, const uint8_t *key, uint32_t key_bitlen) |
Set key for encryption or decryption. More... | |
cx_err_t(* | ctx_reset )(void) |
Reset. More... | |
Base cipher information
Definition at line 50 of file lcx_cipher.h.
cx_err_t(* cx_cipher_base_t::ctr_func) (const cipher_key_t *ctx_key, size_t len, size_t *nc_off, uint8_t *nonce_counter, uint8_t *stream_block, const uint8_t *input, uint8_t *output) |
Encryption in CTR mode.
Definition at line 53 of file lcx_cipher.h.
cx_err_t(* cx_cipher_base_t::ctx_reset) (void) |
Reset.
Definition at line 64 of file lcx_cipher.h.
Decryption function.
Definition at line 52 of file lcx_cipher.h.
Encryption function.
Definition at line 51 of file lcx_cipher.h.
cx_err_t(* cx_cipher_base_t::setkey_func) (const cipher_key_t *ctx_key, uint32_t operation, const uint8_t *key, uint32_t key_bitlen) |
Set key for encryption or decryption.
Definition at line 60 of file lcx_cipher.h.