Home
last modified time | relevance | path

Searched refs:hash_key_output (Results 1 – 1 of 1) sorted by relevance

/trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/
Dcc3xx_hmac.c29 uint32_t hash_key_output[CC3XX_HASH_LENGTH(alg) / sizeof(uint32_t)]; in cc3xx_lowlevel_hmac_compute() local
51 p_key = (const uint8_t *)hash_key_output; in cc3xx_lowlevel_hmac_compute()
55 cc3xx_lowlevel_hash_finish(hash_key_output, sizeof(hash_key_output)); in cc3xx_lowlevel_hmac_compute()
82 cc3xx_lowlevel_hash_finish(hash_key_output, sizeof(hash_key_output)); in cc3xx_lowlevel_hmac_compute()
100 err = cc3xx_lowlevel_hash_update((uint8_t *)hash_key_output, sizeof(hash_key_output)); in cc3xx_lowlevel_hmac_compute()
105 cc3xx_lowlevel_hash_finish(hash_key_output, sizeof(hash_key_output)); in cc3xx_lowlevel_hmac_compute()
109 memcpy(tag, hash_key_output, tag_len); in cc3xx_lowlevel_hmac_compute()
127 uint32_t hash_key_output[CC3XX_HMAC_BLOCK_SIZE / sizeof(uint32_t)]; in cc3xx_lowlevel_hmac_set_key() local
142 p_key = (const uint8_t *)hash_key_output; in cc3xx_lowlevel_hmac_set_key()
145 cc3xx_lowlevel_hash_finish(hash_key_output, sizeof(hash_key_output)); in cc3xx_lowlevel_hmac_set_key()