Searched refs:sha1_hmac_ctx_tmpl (Results 1 – 1 of 1) sorted by relevance
1470 sha1_hmac_ctx_t *sha1_hmac_ctx_tmpl; in sha1_create_ctx_template() local1485 sha1_hmac_ctx_tmpl = kmem_alloc(sizeof (sha1_hmac_ctx_t), in sha1_create_ctx_template()1487 if (sha1_hmac_ctx_tmpl == NULL) in sha1_create_ctx_template()1498 PROV_SHA1_DIGEST_KEY(&sha1_hmac_ctx_tmpl->hc_icontext, in sha1_create_ctx_template()1500 sha1_mac_init_ctx(sha1_hmac_ctx_tmpl, digested_key, in sha1_create_ctx_template()1503 sha1_mac_init_ctx(sha1_hmac_ctx_tmpl, key->ck_data, in sha1_create_ctx_template()1507 sha1_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha1_create_ctx_template()1508 *ctx_template = (crypto_spi_ctx_template_t)sha1_hmac_ctx_tmpl; in sha1_create_ctx_template()