Home
last modified time | relevance | path

Searched refs:vrsa (Results 1 – 3 of 3) sorted by relevance

/openssl/providers/implementations/kem/
H A Drsa_kem.c129 static int rsakem_init(void *vprsactx, void *vrsa, in rsakem_init() argument
139 if (prsactx == NULL || vrsa == NULL) in rsakem_init()
142 if (!ossl_rsa_key_op_get_protect(vrsa, operation, &protect)) in rsakem_init()
144 if (!RSA_up_ref(vrsa)) in rsakem_init()
147 prsactx->rsa = vrsa; in rsakem_init()
161 static int rsakem_encapsulate_init(void *vprsactx, void *vrsa, in rsakem_encapsulate_init() argument
164 return rsakem_init(vprsactx, vrsa, params, EVP_PKEY_OP_ENCAPSULATE, in rsakem_encapsulate_init()
168 static int rsakem_decapsulate_init(void *vprsactx, void *vrsa, in rsakem_decapsulate_init() argument
171 return rsakem_init(vprsactx, vrsa, params, EVP_PKEY_OP_DECAPSULATE, in rsakem_decapsulate_init()
/openssl/providers/implementations/signature/
H A Drsa_sig.c503 rsa_signverify_init(PROV_RSA_CTX *prsactx, void *vrsa, in rsa_signverify_init() argument
513 if (vrsa == NULL && prsactx->rsa == NULL) { in rsa_signverify_init()
518 if (vrsa != NULL) { in rsa_signverify_init()
519 if (!RSA_up_ref(vrsa)) in rsa_signverify_init()
522 prsactx->rsa = vrsa; in rsa_signverify_init()
914 static int rsa_verify_recover_init(void *vprsactx, void *vrsa, in rsa_verify_recover_init() argument
1014 static int rsa_verify_init(void *vprsactx, void *vrsa, in rsa_verify_init() argument
1228 void *vrsa, const OSSL_PARAM params[]) in rsa_digest_sign_init() argument
1232 return rsa_digest_signverify_init(vprsactx, mdname, vrsa, in rsa_digest_sign_init()
1276 return rsa_digest_signverify_init(vprsactx, mdname, vrsa, in rsa_digest_verify_init()
[all …]
/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c96 static int rsa_init(void *vprsactx, void *vrsa, const OSSL_PARAM params[], in rsa_init() argument
102 if (!ossl_prov_is_running() || prsactx == NULL || vrsa == NULL) in rsa_init()
105 if (!ossl_rsa_key_op_get_protect(vrsa, operation, &protect)) in rsa_init()
107 if (!RSA_up_ref(vrsa)) in rsa_init()
110 prsactx->rsa = vrsa; 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()

Completed in 11 milliseconds