Home
last modified time | relevance | path

Searched refs:RSA (Results 1 – 25 of 176) sorted by relevance

12345678

/system/core/libcrypto_utils/tests/
Dandroid_pubkey_test.cpp111 RSA* new_key = nullptr; in SetUp()
116 std::unique_ptr<RSA, void(*)(RSA*)> key_ = {nullptr, RSA_free};
/system/core/libcrypto_utils/include/crypto_utils/
Dandroid_pubkey.h47 bool android_pubkey_decode(const uint8_t* key_buffer, size_t size, RSA** key);
55 bool android_pubkey_encode(const RSA* key, uint8_t* key_buffer, size_t size);
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_engine.h69 RSA* BuildRsaKey(const KeymasterKeyBlob& blob, const AuthorizationSet& additional_params,
75 KeyData* GetData(const RSA* rsa) const;
103 static int rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out,
105 static int rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out,
/system/core/libcrypto_utils/
Dandroid_pubkey.cpp27 #error RSA modulus size must be multiple of the word size!
55 bool android_pubkey_decode(const uint8_t* key_buffer, size_t size, RSA** key) { in android_pubkey_decode()
58 RSA* new_key = RSA_new(); in android_pubkey_decode()
111 bool android_pubkey_encode(const RSA* key, uint8_t* key_buffer, size_t size) { in android_pubkey_encode()
/system/keymaster/
Dsw_rsa_attest_root.key.pem1 -----BEGIN RSA PRIVATE KEY-----
15 -----END RSA PRIVATE KEY-----
/system/extras/verity/
Dverity_verifier.cpp33 static RSA* load_key(const char* path) { in load_key()
41 RSA* key = nullptr; in load_key()
58 std::unique_ptr<RSA, decltype(&RSA_free)> key(load_key(key_path), RSA_free); in verify_table()
Dgenerate_verity_key.c34 static int write_public_keyfile(RSA *private_key, const char *private_key_path) in write_public_keyfile()
66 RSA *rsa = NULL; in convert_x509()
125 RSA* rsa = RSA_new(); in generate_key()
/system/update_engine/
Dunittest_key.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
Dunittest_key2.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
/system/core/fs_mgr/libvbmeta/data/
Dtestkey_rsa2048.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
/system/update_engine/scripts/update_payload/
Dpayload-test-key.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
/system/core/fs_mgr/libfs_avb/tests/data/
Dtestkey_rsa2048.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
/system/tools/mkbootimg/tests/data/
Dtestkey_rsa2048.pem1 -----BEGIN RSA PRIVATE KEY-----
27 -----END RSA PRIVATE KEY-----
/system/keymaster/include/keymaster/km_openssl/
Drsa_key.h42 RSA* key() const { return rsa_key_.get(); } in key()
45 RsaKey(RSA* rsa, AuthorizationSet hw_enforced, AuthorizationSet sw_enforced, in RsaKey()
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp128 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey()
132 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_.get())); in BuildRsaKey()
150 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in BuildRsaKey()
208 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(key)); in GetData()
222 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const RSA* rsa) const { in GetData()
271 int Keymaster1Engine::rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_sign_raw()
294 int Keymaster1Engine::rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_decrypt()
/system/security/keystore2/aidl/android/security/metrics/
DAlgorithm.aidl29 RSA = 1, enumConstant
/system/apex/apexd/apexd_testdata/
Dcom.android.apex.test_package.postinstall.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
Dcom.android.apex.test_package.prepostinstall.fail.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.sharedlibs_secondary/
Dcom.android.apex.test.sharedlibs_secondary.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.sharedlibs/
Dcom.android.apex.test.sharedlibs.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.pony/
Dcom.android.apex.test.pony.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.baz/
Dcom.android.apex.test.baz.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.foo/
Dcom.android.apex.test.foo.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
/system/tools/aidl/build/apex/
Dcom.android.aidltest.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----
/system/timezone/apex/
Dcom.android.tzdata.pem1 -----BEGIN RSA PRIVATE KEY-----
51 -----END RSA PRIVATE KEY-----

12345678