Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_mac.c263 cc3xx_hash_operation_t *hmac = &(operation->hmac); in hmac_setup() local
268 hmac->ctx.mode = HASH_SHA1; in hmac_setup()
273 hmac->ctx.mode = HASH_SHA224; in hmac_setup()
278 hmac->ctx.mode = HASH_SHA256; in hmac_setup()
316 status = cc3xx_hash_setup(hmac, hash_alg); in hmac_setup()
321 status = cc3xx_hash_update(hmac, ipad, block_size); in hmac_setup()
337 cc3xx_hash_operation_t *hmac = &(operation->hmac); in hmac_finish() local
342 switch (hmac->ctx.mode) { in hmac_finish()
364 status = cc3xx_hash_finish(hmac, tmp, sizeof(tmp), &hash_size); in hmac_finish()
369 status = cc3xx_hash_setup(hmac, hash_alg); in hmac_finish()
[all …]
/trusted-firmware-m-3.4.0/bl1/bl1_2/lib/pq_crypto/
Dpq_crypto_mbedtls.c42 const mbedtls_md_info_t *md_info, int hmac) in mbedtls_md_setup() argument
46 (void)hmac; in mbedtls_md_setup()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/
Dcc3xx_crypto_primitives_private.h87 cc3xx_hash_operation_t hmac; /*!< Underlying hash op for HMAC */ member