Lines Matching refs:rsa
74 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetRsaKey(move(key), error)); in CreateRsaOperation() local
75 if (!rsa.get()) return nullptr; in CreateRsaOperation()
78 padding, rsa.release()); in CreateRsaOperation()
324 UniquePtr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(rsa_key_))); in SignUndigested() local
325 if (!rsa.get()) in SignUndigested()
328 if (!output->Reinitialize(RSA_size(rsa.get()))) in SignUndigested()
345 bytes_encrypted = RSA_private_encrypt(key_len, to_encrypt, output->peek_write(), rsa.get(), in SignUndigested()
357 output->peek_write(), rsa.get(), RSA_PKCS1_PADDING); in SignUndigested()
431 UniquePtr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(rsa_key_))); in VerifyUndigested() local
432 if (!rsa.get()) in VerifyUndigested()
435 size_t key_len = RSA_size(rsa.get()); in VerifyUndigested()
461 decrypted_data.get(), rsa.get(), openssl_padding); in VerifyUndigested()