Lines Matching refs:vctx
73 static void template_freectx(void *vctx) in template_freectx() argument
75 PROV_TEMPLATE_CTX *ctx = (PROV_TEMPLATE_CTX *)vctx; in template_freectx()
81 static int template_init(void *vctx, int operation, void *vkey, void *vauth, in template_init() argument
84 PROV_TEMPLATE_CTX *ctx = (PROV_TEMPLATE_CTX *)vctx; in template_init()
96 static int template_encapsulate_init(void *vctx, void *vkey, in template_encapsulate_init() argument
99 return template_init(vctx, EVP_PKEY_OP_ENCAPSULATE, vkey, NULL, params); in template_encapsulate_init()
102 static int template_decapsulate_init(void *vctx, void *vkey, in template_decapsulate_init() argument
105 return template_init(vctx, EVP_PKEY_OP_DECAPSULATE, vkey, NULL, params); in template_decapsulate_init()
108 static int template_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in template_set_ctx_params() argument
110 PROV_TEMPLATE_CTX *ctx = (PROV_TEMPLATE_CTX *)vctx; in template_set_ctx_params()
127 static const OSSL_PARAM *template_settable_ctx_params(ossl_unused void *vctx, in template_settable_ctx_params() argument
133 static int template_encapsulate(void *vctx, unsigned char *out, size_t *outlen, in template_encapsulate() argument
136 debug_print("encaps %p to %p\n", vctx, out); in template_encapsulate()
156 static int template_decapsulate(void *vctx, unsigned char *out, size_t *outlen, in template_decapsulate() argument
159 debug_print("decaps %p to %p inlen at %d\n", vctx, out, inlen); in template_decapsulate()