Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/
Dsoftraid_crypto.c446 HMAC_SHA1_CTX hmacctx; in sr_crypto_calculate_check_hmac_sha1() local
450 bzero(&hmacctx, sizeof(hmacctx)); in sr_crypto_calculate_check_hmac_sha1()
459 HMAC_SHA1_Init(&hmacctx, check_key, sizeof(check_key)); in sr_crypto_calculate_check_hmac_sha1()
460 HMAC_SHA1_Update(&hmacctx, key, key_size); in sr_crypto_calculate_check_hmac_sha1()
461 HMAC_SHA1_Final(check_digest, &hmacctx); in sr_crypto_calculate_check_hmac_sha1()
464 explicit_bzero(&hmacctx, sizeof(hmacctx)); in sr_crypto_calculate_check_hmac_sha1()