Searched refs:sha2_hmac_ctx_tmpl (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dsha2_mod.c1524 sha2_hmac_ctx_t *sha2_hmac_ctx_tmpl; local
1556 sha2_hmac_ctx_tmpl = kmem_alloc(sizeof (sha2_hmac_ctx_t),
1558 if (sha2_hmac_ctx_tmpl == NULL)
1561 sha2_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type;
1572 &sha2_hmac_ctx_tmpl->hc_icontext,
1574 sha2_mac_init_ctx(sha2_hmac_ctx_tmpl, digested_key,
1577 sha2_mac_init_ctx(sha2_hmac_ctx_tmpl, key->ck_data,
1581 *ctx_template = (crypto_spi_ctx_template_t)sha2_hmac_ctx_tmpl;

Completed in 109 milliseconds