Home
last modified time | relevance | path

Searched defs:rsa (Results 1 – 21 of 21) sorted by relevance

/system/extras/verity/
Dgenerate_verity_key.c66 RSA *rsa = NULL; in convert_x509() local
125 RSA* rsa = RSA_new(); in generate_key() local
/system/tpm/attestation/common/
Dcrypto_utility_impl.cc168 crypto::ScopedRSA rsa( in GetRSASubjectPublicKeyInfo() local
191 crypto::ScopedRSA rsa( in GetRSAPublicKey() local
242 crypto::ScopedRSA rsa( in EncryptIdentityCredential() local
279 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in EncryptForUnbind() local
296 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in VerifySignature() local
Dtpm_utility_v1.cc647 crypto::ScopedRSA rsa(RSA_new()); in ConvertPublicKeyToDER() local
/system/keymaster/
Drsa_key.h45 RsaKey(RSA* rsa, const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, in RsaKey()
Dkeymaster0_engine.cpp164 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_)); in BlobToRsaKey() local
245 int Keymaster0Engine::rsa_private_transform(RSA* rsa, uint8_t* out, const uint8_t* in, size_t len) { in rsa_private_transform()
293 static bool data_too_large_for_public_modulus(const uint8_t* data, size_t len, const RSA* rsa) { in data_too_large_for_public_modulus()
299 int Keymaster0Engine::RsaPrivateTransform(RSA* rsa, uint8_t* out, const uint8_t* in, in RsaPrivateTransform()
Dkeymaster1_engine.cpp140 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_.get())); in BuildRsaKey() local
218 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(key)); in GetData() local
285 int Keymaster1Engine::rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_sign_raw()
310 int Keymaster1Engine::rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_decrypt()
Drsa_keymaster0_key.cpp112 unique_ptr<RSA, RSA_Delete> rsa(engine_->BlobToRsaKey(key_material)); in LoadKey() local
Drsa_keymaster1_operation.cpp127 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetEvpKey(rsa_km1_key, error)); in CreateOperation() local
Drsa_operation.cpp79 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetRsaKey(key, error)); in CreateRsaOperation() local
323 UniquePtr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(rsa_key_))); in SignUndigested() local
430 UniquePtr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(const_cast<EVP_PKEY*>(rsa_key_))); in VerifyUndigested() local
Drsa_keymaster1_key.cpp113 unique_ptr<RSA, RSA_Delete> rsa(engine_->BuildRsaKey(key_material, additional_params, &error)); in LoadKey() local
Dsoft_keymaster_context.cpp938 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(pubkey)); in FakeKeyAuthorizations() local
Dandroid_keymaster_test.cpp1926 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(pkey.get())); in TEST_P() local
/system/security/keystore-engine/
Dandroid_engine.cpp139 const char* rsa_get_key_id(const RSA* rsa) { in rsa_get_key_id()
148 int rsa_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, size_t len) { in rsa_private_transform()
314 Unique_RSA rsa(RSA_new_method(g_keystore_engine->engine())); in wrap_rsa() local
/system/update_engine/payload_consumer/
Dpayload_verifier.cc148 RSA* rsa = PEM_read_RSA_PUBKEY(fpubkey, nullptr, nullptr, dummy_password); in GetRawHashFromSignature() local
Ddelta_performer_integration_test.cc229 RSA* rsa = RSA_new(); in SignGeneratedShellPayload() local
/system/tpm/trunks/
Dsession_manager_test.cc66 TPM2B_PUBLIC_KEY_RSA rsa; in GetValidRSAPublicKey() local
Dtrunks_client_test.cc1020 crypto::ScopedRSA rsa(RSA_new()); in GenerateRSAKeyPair() local
1048 crypto::ScopedRSA rsa( in VerifyRSASignature() local
Dtpm_generated.h1492 BYTE rsa[MAX_RSA_KEY_BYTES]; member
1541 TPM2B_PUBLIC_KEY_RSA rsa; member
1565 TPM2B_PRIVATE_KEY_RSA rsa; member
/system/security/softkeymaster/
Dkeymaster_openssl.cpp338 Unique_RSA rsa(RSA_new()); in generate_rsa_keypair() local
542 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey)); in sign_rsa() local
664 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey)); in verify_rsa() local
/system/core/adb/
Dadb_auth_host.cpp117 RSA* rsa = RSA_new(); in generate_key() local
/system/update_engine/payload_generator/
Dpayload_signer.cc362 RSA* rsa = PEM_read_RSAPrivateKey(fprikey, nullptr, nullptr, nullptr); in SignHash() local