Lines Matching refs:genctx
341 void *genctx = NULL, *derivectx = NULL; in xor_encapsulate() local
358 genctx = xor_gen_init(pxorctx->provctx, OSSL_KEYMGMT_SELECT_KEYPAIR, NULL); in xor_encapsulate()
359 if (genctx == NULL) in xor_encapsulate()
361 ourkey = xor_gen(genctx, NULL, NULL); in xor_encapsulate()
380 xor_gen_cleanup(genctx); in xor_encapsulate()
604 static int xor_gen_set_params(void *genctx, const OSSL_PARAM params[]) in xor_gen_set_params() argument
606 struct xor_gen_ctx *gctx = genctx; in xor_gen_set_params()
623 static const OSSL_PARAM *xor_gen_settable_params(ossl_unused void *genctx, in xor_gen_settable_params() argument
633 static void *xor_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in xor_gen() argument
635 struct xor_gen_ctx *gctx = genctx; in xor_gen()
732 static void xor_gen_cleanup(void *genctx) in xor_gen_cleanup() argument
734 OPENSSL_free(genctx); in xor_gen_cleanup()