|
cx_err_t | cx_hmac_ripemd160_init_no_throw (cx_hmac_ripemd160_t *hmac, const uint8_t *key, size_t key_len) |
| Initializes a HMAC-RIPEMD160 context. More...
|
static int | cx_hmac_ripemd160_init (cx_hmac_ripemd160_t *hmac, const unsigned char *key, unsigned int key_len) |
| Initializes a HMAC-RIPEMD160 context. More...
|
cx_err_t | cx_hmac_sha224_init (cx_hmac_sha256_t *hmac, const uint8_t *key, unsigned int key_len) |
| Initializes a HMAC-SHA224 context. More...
|
cx_err_t | cx_hmac_sha256_init_no_throw (cx_hmac_sha256_t *hmac, const uint8_t *key, size_t key_len) |
| Initializes a HMAC-SHA256 context. More...
|
static int | cx_hmac_sha256_init (cx_hmac_sha256_t *hmac, const unsigned char *key, unsigned int key_len) |
| Initializes a HMAC-SHA256 context. More...
|
size_t | cx_hmac_sha256 (const uint8_t *key, size_t key_len, const uint8_t *in, size_t len, uint8_t *mac, size_t mac_len) |
| Computes a HMAC value using SHA256. More...
|
cx_err_t | cx_hmac_sha384_init (cx_hmac_sha512_t *hmac, const uint8_t *key, unsigned int key_len) |
| Initializes a HMAC-SHA384 context. More...
|
cx_err_t | cx_hmac_sha512_init_no_throw (cx_hmac_sha512_t *hmac, const uint8_t *key, size_t key_len) |
| Initializes a HMAC-SHA512 context. More...
|
static int | cx_hmac_sha512_init (cx_hmac_sha512_t *hmac, const unsigned char *key, unsigned int key_len) |
| Initializes a HMAC-SHA512 context. More...
|
size_t | cx_hmac_sha512 (const uint8_t *key, size_t key_len, const uint8_t *in, size_t len, uint8_t *mac, size_t mac_len) |
| Computes a HMAC value using SHA512. More...
|
cx_err_t | cx_hmac_no_throw (cx_hmac_t *hmac, uint32_t mode, const uint8_t *in, size_t len, uint8_t *mac, size_t mac_len) |
| Computes a HMAC value according to the specified hash function. More...
|
static int | cx_hmac (cx_hmac_t *hmac, int mode, const unsigned char *in, unsigned int len, unsigned char *mac, unsigned int mac_len) |
| Computes a HMAC value according to the specified hash function. More...
|
cx_err_t | cx_hmac_init (cx_hmac_t *hmac, cx_md_t hash_id, const uint8_t *key, size_t key_len) |
| Initializes a HMAC context. More...
|
cx_err_t | cx_hmac_update (cx_hmac_t *hmac, const uint8_t *in, size_t in_len) |
| Adds more data to compute the HMAC. More...
|
cx_err_t | cx_hmac_final (cx_hmac_t *ctx, uint8_t *out, size_t *out_len) |
| Finalizes the HMAC algorithm. More...
|
HMAC (Keyed-Hash Message Authentication Code)
A HMAC is a specific type of message authentication code which involves a hash function and a secret key. It enables the verification of the integrity and the authenticity of a message.