Lines Matching refs:vprsactx
95 static void rsakem_freectx(void *vprsactx) in rsakem_freectx() argument
97 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsakem_freectx()
103 static void *rsakem_dupctx(void *vprsactx) in rsakem_dupctx() argument
105 PROV_RSA_CTX *srcctx = (PROV_RSA_CTX *)vprsactx; in rsakem_dupctx()
120 static int rsakem_init(void *vprsactx, void *vrsa, in rsakem_init() argument
123 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsakem_init()
139 static int rsakem_encapsulate_init(void *vprsactx, void *vrsa, in rsakem_encapsulate_init() argument
142 return rsakem_init(vprsactx, vrsa, params, EVP_PKEY_OP_ENCAPSULATE); in rsakem_encapsulate_init()
145 static int rsakem_decapsulate_init(void *vprsactx, void *vrsa, in rsakem_decapsulate_init() argument
148 return rsakem_init(vprsactx, vrsa, params, EVP_PKEY_OP_DECAPSULATE); in rsakem_decapsulate_init()
151 static int rsakem_get_ctx_params(void *vprsactx, OSSL_PARAM *params) in rsakem_get_ctx_params() argument
153 PROV_RSA_CTX *ctx = (PROV_RSA_CTX *)vprsactx; in rsakem_get_ctx_params()
162 static const OSSL_PARAM *rsakem_gettable_ctx_params(ossl_unused void *vprsactx, in rsakem_gettable_ctx_params() argument
168 static int rsakem_set_ctx_params(void *vprsactx, const OSSL_PARAM params[]) in rsakem_set_ctx_params() argument
170 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsakem_set_ctx_params()
197 static const OSSL_PARAM *rsakem_settable_ctx_params(ossl_unused void *vprsactx, in rsakem_settable_ctx_params() argument
319 static int rsakem_generate(void *vprsactx, unsigned char *out, size_t *outlen, in rsakem_generate() argument
322 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsakem_generate()
332 static int rsakem_recover(void *vprsactx, unsigned char *out, size_t *outlen, in rsakem_recover() argument
335 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsakem_recover()