libcoap 4.3.5-develop-72190a8
|
An implementation of the Hash Based Key Derivation Function (RFC) and wrappers for AES-CCM*. More...
Go to the source code of this file.
Functions | |
int | oscore_hmac_hash (cose_hmac_alg_t hmac_alg, coap_bin_const_t *key, coap_bin_const_t *data, coap_bin_const_t **hmac) |
Derive the hmac hash using HMAC-HASH() function. | |
int | oscore_hkdf_extract (cose_hkdf_alg_t hkdf_alg, coap_bin_const_t *salt, coap_bin_const_t *ikm, coap_bin_const_t **hkdf_extract) |
Derive the pseudorandom key using HKDF-Extract() function. | |
int | oscore_hkdf_expand (cose_hkdf_alg_t hkdf_alg, coap_bin_const_t *prk, uint8_t *info, size_t info_len, uint8_t *okm, size_t okm_len) |
Derive the key using HKDF-Expand() function. | |
int | oscore_hkdf (cose_hkdf_alg_t hkdf_alg, coap_bin_const_t *salt, coap_bin_const_t *ikm, uint8_t *info, size_t info_len, uint8_t *okm, size_t okm_len) |
Derive the key using HKDF() function. | |
An implementation of the Hash Based Key Derivation Function (RFC) and wrappers for AES-CCM*.
Definition in file oscore_crypto.c.