Home
last modified time | relevance | path

Searched refs:sha1_hmac_ctx_tmpl (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Dsha1_mod.c1157 sha1_hmac_ctx_t *sha1_hmac_ctx_tmpl; in sha1_create_ctx_template() local
1172 sha1_hmac_ctx_tmpl = kmem_alloc(sizeof (sha1_hmac_ctx_t), in sha1_create_ctx_template()
1174 if (sha1_hmac_ctx_tmpl == NULL) in sha1_create_ctx_template()
1185 PROV_SHA1_DIGEST_KEY(&sha1_hmac_ctx_tmpl->hc_icontext, in sha1_create_ctx_template()
1187 sha1_mac_init_ctx(sha1_hmac_ctx_tmpl, digested_key, in sha1_create_ctx_template()
1190 sha1_mac_init_ctx(sha1_hmac_ctx_tmpl, key->ck_data, in sha1_create_ctx_template()
1194 sha1_hmac_ctx_tmpl->hc_mech_type = mechanism->cm_type; in sha1_create_ctx_template()
1195 *ctx_template = (crypto_spi_ctx_template_t)sha1_hmac_ctx_tmpl; in sha1_create_ctx_template()