Lines Matching refs:genctx
576 void *genctx = NULL, *derivectx = NULL; in xor_encapsulate() local
593 genctx = xor_gen_init(pxorctx->provctx, OSSL_KEYMGMT_SELECT_KEYPAIR, NULL); in xor_encapsulate()
594 if (genctx == NULL) in xor_encapsulate()
596 ourkey = xor_gen(genctx, NULL, NULL); in xor_encapsulate()
615 xor_gen_cleanup(genctx); in xor_encapsulate()
946 static int xor_gen_set_params(void *genctx, const OSSL_PARAM params[]) in xor_gen_set_params() argument
948 struct xor_gen_ctx *gctx = genctx; in xor_gen_set_params()
965 static const OSSL_PARAM *xor_gen_settable_params(ossl_unused void *genctx, in xor_gen_settable_params() argument
975 static void *xor_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in xor_gen() argument
977 struct xor_gen_ctx *gctx = genctx; in xor_gen()
1090 static void xor_gen_cleanup(void *genctx) in xor_gen_cleanup() argument
1092 OPENSSL_free(genctx); in xor_gen_cleanup()
1120 static void *xor_xorhmacsig_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in xor_xorhmacsig_gen() argument
1122 XORKEY *k = xor_gen(genctx, osslcb, cbarg); in xor_xorhmacsig_gen()
1134 static void *xor_xorhmacsha2sig_gen(void *genctx, OSSL_CALLBACK *osslcb, void *cbarg) in xor_xorhmacsha2sig_gen() argument
1136 XORKEY* k = xor_gen(genctx, osslcb, cbarg); in xor_xorhmacsha2sig_gen()