Lines Matching refs:vprsactx

94 static int rsa_init(void *vprsactx, void *vrsa, const OSSL_PARAM params[],  in rsa_init()  argument
97 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_init()
123 static int rsa_encrypt_init(void *vprsactx, void *vrsa, in rsa_encrypt_init() argument
126 return rsa_init(vprsactx, vrsa, params, EVP_PKEY_OP_ENCRYPT); in rsa_encrypt_init()
129 static int rsa_decrypt_init(void *vprsactx, void *vrsa, in rsa_decrypt_init() argument
132 return rsa_init(vprsactx, vrsa, params, EVP_PKEY_OP_DECRYPT); in rsa_decrypt_init()
135 static int rsa_encrypt(void *vprsactx, unsigned char *out, size_t *outlen, in rsa_encrypt() argument
138 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_encrypt()
197 static int rsa_decrypt(void *vprsactx, unsigned char *out, size_t *outlen, in rsa_decrypt() argument
200 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_decrypt()
287 static void rsa_freectx(void *vprsactx) in rsa_freectx() argument
289 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_freectx()
300 static void *rsa_dupctx(void *vprsactx) in rsa_dupctx() argument
302 PROV_RSA_CTX *srcctx = (PROV_RSA_CTX *)vprsactx; in rsa_dupctx()
334 static int rsa_get_ctx_params(void *vprsactx, OSSL_PARAM *params) in rsa_get_ctx_params() argument
336 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_get_ctx_params()
418 static const OSSL_PARAM *rsa_gettable_ctx_params(ossl_unused void *vprsactx, in rsa_gettable_ctx_params() argument
424 static int rsa_set_ctx_params(void *vprsactx, const OSSL_PARAM params[]) in rsa_set_ctx_params() argument
426 PROV_RSA_CTX *prsactx = (PROV_RSA_CTX *)vprsactx; in rsa_set_ctx_params()
568 static const OSSL_PARAM *rsa_settable_ctx_params(ossl_unused void *vprsactx, in rsa_settable_ctx_params() argument