Lines Matching defs:sha1_hmac_ctx
232 fips_hmac_sha1_hash(sha1_hmac_ctx_t *sha1_hmac_ctx,
238 SHA1Update(&((sha1_hmac_ctx)->hc_icontext), message,
244 SHA1Final(hmac_computed, &((sha1_hmac_ctx)->hc_icontext));
250 SHA1Update(&((sha1_hmac_ctx)->hc_ocontext), hmac_computed,
257 SHA1Final(hmac_computed, &((sha1_hmac_ctx)->hc_ocontext));
259 kmem_free(sha1_hmac_ctx, sizeof (sha1_hmac_ctx_t));
279 sha1_hmac_ctx_t *sha1_hmac_ctx = NULL;
299 sha1_hmac_ctx = fips_sha1_hmac_build_context(HMAC_known_secret_key,
302 if (sha1_hmac_ctx == NULL)
305 fips_hmac_sha1_hash(sha1_hmac_ctx, hmac_sha1_known_hash_message,