Lines Matching refs:ctx_tmpl
801 skein_ctx_t *ctx_tmpl;
803 ctx_tmpl = kmem_alloc(sizeof (*ctx_tmpl), crypto_kmflag(req));
804 if (ctx_tmpl == NULL)
806 error = skein_mac_ctx_build(ctx_tmpl, mechanism, key);
809 *ctx_template = ctx_tmpl;
810 *ctx_template_size = sizeof (*ctx_tmpl);
814 bzero(ctx_tmpl, sizeof (*ctx_tmpl));
815 kmem_free(ctx_tmpl, sizeof (*ctx_tmpl));