Lines Matching refs:vprsactx

96 static int rsa_init(void *vprsactx, void *vrsa, const OSSL_PARAM params[],  in rsa_init()  argument
99 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_init()
136 static int rsa_encrypt_init(void *vprsactx, void *vrsa, in rsa_encrypt_init() argument
139 return rsa_init(vprsactx, vrsa, params, EVP_PKEY_OP_ENCRYPT, in rsa_encrypt_init()
143 static int rsa_decrypt_init(void *vprsactx, void *vrsa, in rsa_decrypt_init() argument
146 return rsa_init(vprsactx, vrsa, params, EVP_PKEY_OP_DECRYPT, in rsa_decrypt_init()
150 static int rsa_encrypt(void *vprsactx, unsigned char *out, size_t *outlen, in rsa_encrypt() argument
153 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_encrypt()
222 static int rsa_decrypt(void *vprsactx, unsigned char *out, size_t *outlen, in rsa_decrypt() argument
225 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_decrypt()
315 static void rsa_freectx(void *vprsactx) in rsa_freectx() argument
317 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_freectx()
328 static void *rsa_dupctx(void *vprsactx) in rsa_dupctx() argument
330 PROV_RSA_CTX *srcctx = (PROV_RSA_CTX *)vprsactx; in rsa_dupctx()
362 static int rsa_get_ctx_params(void *vprsactx, OSSL_PARAM *params) in rsa_get_ctx_params() argument
364 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_get_ctx_params()
453 static const OSSL_PARAM *rsa_gettable_ctx_params(ossl_unused void *vprsactx, in rsa_gettable_ctx_params() argument
459 static int rsa_set_ctx_params(void *vprsactx, const OSSL_PARAM params[]) in rsa_set_ctx_params() argument
461 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_set_ctx_params()
620 static const OSSL_PARAM *rsa_settable_ctx_params(ossl_unused void *vprsactx, in rsa_settable_ctx_params() argument