Searched refs:ctx_tmpl (Results 1 – 3 of 3) sorted by relevance
76 kcf_ctx_template_t *ctx_tmpl; in crypto_create_ctx_template() local91 if ((ctx_tmpl = kmem_alloc( in crypto_create_ctx_template()103 &(ctx_tmpl->ct_prov_tmpl), &(ctx_tmpl->ct_size)); in crypto_create_ctx_template()106 *ptmpl = ctx_tmpl; in crypto_create_ctx_template()108 kmem_free(ctx_tmpl, sizeof (kcf_ctx_template_t)); in crypto_create_ctx_template()134 kcf_ctx_template_t *ctx_tmpl = (kcf_ctx_template_t *)tmpl; in crypto_destroy_ctx_template() local136 if (ctx_tmpl == NULL) in crypto_destroy_ctx_template()139 ASSERT(ctx_tmpl->ct_prov_tmpl != NULL); in crypto_destroy_ctx_template()141 memset(ctx_tmpl->ct_prov_tmpl, 0, ctx_tmpl->ct_size); in crypto_destroy_ctx_template()142 kmem_free(ctx_tmpl->ct_prov_tmpl, ctx_tmpl->ct_size); in crypto_destroy_ctx_template()[all …]
74 kcf_ctx_template_t *ctx_tmpl; in crypto_encrypt() local87 if (((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) in crypto_encrypt()88 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_encrypt()145 kcf_ctx_template_t *ctx_tmpl; in crypto_decrypt() local158 if (((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) in crypto_decrypt()159 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_decrypt()
90 kcf_ctx_template_t *ctx_tmpl; in crypto_mac() local103 if (((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) in crypto_mac()104 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_mac()196 kcf_ctx_template_t *ctx_tmpl; in crypto_mac_init() local216 if (((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) in crypto_mac_init()217 spi_ctx_tmpl = ctx_tmpl->ct_prov_tmpl; in crypto_mac_init()