/system/extras/verity/ |
D | generate_verity_key.c | 40 static int convert_to_mincrypt_format(RSA *rsa, RSAPublicKey *pkey) in convert_to_mincrypt_format() 119 RSA *rsa = NULL; in convert_x509() local 178 RSA* rsa = RSA_new(); in generate_key() local
|
D | verify_boot_signature.c | 317 RSA *rsa = NULL; in verify_signature() local
|
/system/security/keystore-engine/ |
D | rsa_meth.cpp | 44 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, in keystore_rsa_priv_enc() 116 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, in keystore_rsa_priv_dec() 213 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey)); in rsa_pkey_setup() local
|
D | android_engine.cpp | 130 const char* rsa_get_key_id(const RSA* rsa) { in rsa_get_key_id() 139 int rsa_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, size_t len) { in rsa_private_transform() 324 Unique_RSA rsa(RSA_new_method(g_keystore_engine->engine())); in wrap_rsa() local
|
/system/connectivity/shill/shims/ |
D | crypto_util.cc | 80 RSA* rsa = *rsa_ptr; in EncryptByteStringImpl() local 121 RSA* rsa = NULL; in EncryptByteString() local 176 RSA* rsa = *rsa_ptr; in VerifyCredentialsImpl() local 316 RSA* rsa = NULL; in VerifyCredentials() local
|
/system/keymaster/ |
D | rsa_key.h | 45 RsaKey(RSA* rsa, const AuthorizationSet& hw_enforced, const AuthorizationSet& sw_enforced, in RsaKey()
|
D | keymaster0_engine.cpp | 182 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_)); in BlobToRsaKey() local 263 int Keymaster0Engine::rsa_private_transform(RSA* rsa, uint8_t* out, const uint8_t* in, size_t len) { in rsa_private_transform() 311 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() 317 int Keymaster0Engine::RsaPrivateTransform(RSA* rsa, uint8_t* out, const uint8_t* in, in RsaPrivateTransform()
|
D | keymaster1_engine.cpp | 140 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_.get())); in BuildRsaKey() local 222 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(key)); in GetData() local 289 int Keymaster1Engine::rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_sign_raw() 314 int Keymaster1Engine::rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_decrypt()
|
D | rsa_keymaster0_key.cpp | 112 unique_ptr<RSA, RSA_Delete> rsa(engine_->BlobToRsaKey(key_material)); in LoadKey() local
|
D | rsa_keymaster1_operation.cpp | 127 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> rsa(GetEvpKey(rsa_km1_key, error)); in CreateOperation() local
|
D | rsa_keymaster1_key.cpp | 113 unique_ptr<RSA, RSA_Delete> rsa(engine_->BuildRsaKey(key_material, additional_params, &error)); in LoadKey() local
|
D | rsa_operation.cpp | 79 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
|
D | soft_keymaster_context.cpp | 925 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(pubkey)); in FakeKeyAuthorizations() local
|
D | android_keymaster_test.cpp | 2010 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(pkey.get())); in TEST_P() local
|
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 169 crypto::ScopedRSA rsa(d2i_RSAPublicKey(nullptr, &asn1_ptr, in GetRSASubjectPublicKeyInfo() local 192 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, in GetRSAPublicKey() local 243 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, in EncryptIdentityCredential() local 280 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in EncryptForUnbind() local 297 crypto::ScopedRSA rsa(d2i_RSA_PUBKEY(NULL, &asn1_ptr, public_key.size())); in VerifySignature() local
|
D | tpm_utility_v1.cc | 694 crypto::ScopedRSA rsa(RSA_new()); in ConvertPublicKeyToDER() local
|
/system/core/adb/ |
D | adb_auth_host.cpp | 55 RSA *rsa; member 62 static int RSA_to_RSAPublicKey(RSA *rsa, RSAPublicKey *pkey) in RSA_to_RSAPublicKey() 215 RSA* rsa = RSA_new(); in generate_key() local
|
/system/update_engine/payload_consumer/ |
D | payload_verifier.cc | 148 RSA* rsa = PEM_read_RSA_PUBKEY(fpubkey, nullptr, nullptr, dummy_password); in GetRawHashFromSignature() local
|
/system/tpm/trunks/ |
D | session_manager_test.cc | 68 TPM2B_PUBLIC_KEY_RSA rsa; in GetValidRSAPublicKey() local
|
D | trunks_client_test.cc | 992 crypto::ScopedRSA rsa(RSA_new()); in GenerateRSAKeyPair() local 1020 crypto::ScopedRSA rsa(d2i_RSAPublicKey(nullptr, &asn1_ptr, in VerifyRSASignature() local
|
D | tpm_generated.h | 1460 BYTE rsa[MAX_RSA_KEY_BYTES]; member 1509 TPM2B_PUBLIC_KEY_RSA rsa; member 1533 TPM2B_PRIVATE_KEY_RSA rsa; member
|
/system/security/softkeymaster/ |
D | keymaster_openssl.cpp | 344 Unique_RSA rsa(RSA_new()); in generate_rsa_keypair() local 548 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey)); in sign_rsa() local 670 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey)); in verify_rsa() local
|
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 362 RSA* rsa = PEM_read_RSAPrivateKey(fprikey, nullptr, nullptr, nullptr); in SignHash() local
|