Searched refs:sha2_hmac_ctx_tmpl (Results 1 – 1 of 1) sorted by relevance
1311 sha2_hmac_ctx_t *sha2_hmac_ctx_tmpl; in sha2_create_ctx_template() local1343 sha2_hmac_ctx_tmpl = kmem_alloc(sizeof (sha2_hmac_ctx_t), in sha2_create_ctx_template()1345 if (sha2_hmac_ctx_tmpl == NULL) in sha2_create_ctx_template()1348 sha2_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha2_create_ctx_template()1359 &sha2_hmac_ctx_tmpl->hc_icontext, in sha2_create_ctx_template()1361 sha2_mac_init_ctx(sha2_hmac_ctx_tmpl, digested_key, in sha2_create_ctx_template()1364 sha2_mac_init_ctx(sha2_hmac_ctx_tmpl, key->ck_data, in sha2_create_ctx_template()1368 *ctx_template = (crypto_spi_ctx_template_t)sha2_hmac_ctx_tmpl; in sha2_create_ctx_template()