Searched refs:ctxtemplate (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/geom/eli/ |
H A D | geom_eli.c | 593 eli_genkey(struct gctl_req *req, const struct hmac_ctx *ctxtemplate, in eli_genkey() argument 598 memcpy(&ctx, ctxtemplate, sizeof(ctx)); in eli_genkey() 735 struct hmac_ctx ctxtemplate; in eli_init() local 870 if (!eli_init_key_hmac_ctx(req, &ctxtemplate, true)) in eli_init() 914 if (eli_genkey(r, &ctxtemplate, &md, key, true) == NULL) { in eli_init() 1038 explicit_bzero(&ctxtemplate, sizeof(ctxtemplate)); in eli_init() 1050 struct hmac_ctx ctxtemplate; in eli_attach() local 1067 if (!eli_init_key_hmac_ctx(req, &ctxtemplate, false)) in eli_attach() 1099 if (eli_genkey(r, &ctxtemplate, &md, key, false) == NULL) { in eli_attach() 1133 explicit_bzero(&ctxtemplate, sizeof(ctxtemplate)); in eli_attach()
|