Searched refs:hmac (Results 1 – 3 of 3) sorted by relevance
263 cc3xx_hash_operation_t *hmac = &(operation->hmac); in hmac_setup() local268 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() local342 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 …]
42 const mbedtls_md_info_t *md_info, int hmac) in mbedtls_md_setup() argument46 (void)hmac; in mbedtls_md_setup()
87 cc3xx_hash_operation_t hmac; /*!< Underlying hash op for HMAC */ member