Make HKDF use the generic MAC API
Such that the underlying HMAC can be accelerated if such a driver is present Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
parent
ac8d82a6f8
commit
d1ed1d935f
2 changed files with 68 additions and 34 deletions
|
@ -173,7 +173,7 @@ typedef struct
|
|||
{
|
||||
uint8_t *info;
|
||||
size_t info_length;
|
||||
mbedtls_psa_hmac_operation_t hmac;
|
||||
psa_mac_operation_t hmac;
|
||||
uint8_t prk[PSA_HASH_MAX_SIZE];
|
||||
uint8_t output_block[PSA_HASH_MAX_SIZE];
|
||||
#if PSA_HASH_MAX_SIZE > 0xff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue