Home
last modified time | relevance | path

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.c1557 sha2_hmac_ctx_t *sha2_hmac_ctx_tmpl; in sha2_create_ctx_template() local
1589 sha2_hmac_ctx_tmpl = kmem_alloc(sizeof (sha2_hmac_ctx_t), in sha2_create_ctx_template()
1591 if (sha2_hmac_ctx_tmpl == NULL) in sha2_create_ctx_template()
1594 sha2_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha2_create_ctx_template()
1605 &sha2_hmac_ctx_tmpl->hc_icontext, in sha2_create_ctx_template()
1607 sha2_mac_init_ctx(sha2_hmac_ctx_tmpl, digested_key, in sha2_create_ctx_template()
1610 sha2_mac_init_ctx(sha2_hmac_ctx_tmpl, key->ck_data, in sha2_create_ctx_template()
1614 *ctx_template = (crypto_spi_ctx_template_t)sha2_hmac_ctx_tmpl; in sha2_create_ctx_template()