/system/update_engine/payload_generator/ |
D | payload_signer_unittest.cc | 134 string public_key; in TEST_F() local 136 &public_key)); in TEST_F() 138 PayloadVerifier::VerifySignature(signature, public_key, hash_data_)); in TEST_F() 140 &public_key)); in TEST_F() 142 PayloadVerifier::VerifySignature(signature, public_key, hash_data_)); in TEST_F() 144 GetBuildArtifactsPath(kUnittestPublicKeyRSA4096Path), &public_key)); in TEST_F() 146 PayloadVerifier::VerifySignature(signature, public_key, hash_data_)); in TEST_F() 153 string public_key; in TEST_F() local 155 &public_key)); in TEST_F() 157 PayloadVerifier::VerifySignature(signature, public_key, hash_data_)); in TEST_F() [all …]
|
D | payload_signer.cc | 255 string public_key; in VerifySignedPayload() local 256 TEST_AND_RETURN_FALSE(utils::ReadFile(public_key_path, &public_key)); in VerifySignedPayload() 259 PayloadVerifier::VerifySignature(signature, public_key, payload_hash)); in VerifySignedPayload() 265 PayloadVerifier::VerifySignature(signature, public_key, metadata_hash)); in VerifySignedPayload()
|
D | generate_delta_main.cc | 168 int VerifySignedPayload(const string& in_file, const string& public_key) { in VerifySignedPayload() argument 172 LOG_IF(FATAL, public_key.empty()) in VerifySignedPayload() 174 if (!PayloadSigner::VerifySignedPayload(in_file, public_key)) { in VerifySignedPayload() 329 DEFINE_string(public_key, "", "Path to public key in .pem format"); in Main()
|
/system/apex/apexd/apexd_testdata/ |
D | Android.bp | 20 public_key: "com.android.apex.test_package.avbpubkey", 45 public_key: "com.android.apex.test_package.preinstall.avbpubkey", 62 public_key: "com.android.apex.test_package.postinstall.avbpubkey", 79 public_key: "com.android.apex.test_package.prepostinstall.fail.avbpubkey", 96 public_key: "com.android.apex.test_package.no_inst_key.avbpubkey", 112 public_key: "com.android.apex.test_package_2.avbpubkey",
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 1013 string public_key; in TEST_F() local 1014 EXPECT_TRUE(performer_.GetPublicKey(&public_key)); in TEST_F() 1015 EXPECT_EQ(public_key, kResponseKey); in TEST_F() 1018 EXPECT_TRUE(performer_.GetPublicKey(&public_key)); in TEST_F() 1019 EXPECT_TRUE(public_key.empty()); in TEST_F() 1025 EXPECT_TRUE(performer_.GetPublicKey(&public_key)); in TEST_F() 1026 EXPECT_EQ(public_key, kExistingKey); in TEST_F() 1029 EXPECT_TRUE(performer_.GetPublicKey(&public_key)); in TEST_F() 1030 EXPECT_EQ(public_key, kExistingKey); in TEST_F() 1036 EXPECT_TRUE(performer_.GetPublicKey(&public_key)); in TEST_F() [all …]
|
D | delta_performer.cc | 529 string public_key; in ParsePayloadMetadata() local 530 if (!GetPublicKey(&public_key)) { in ParsePayloadMetadata() 539 payload, payload_->metadata_signature, public_key); in ParsePayloadMetadata() 1787 string public_key; in VerifyPayload() local 1788 if (!GetPublicKey(&public_key)) { in VerifyPayload() 1811 if (public_key.empty()) { in VerifyPayload() 1822 signatures_message_data_, public_key, hash_data)) { in VerifyPayload()
|
/system/keymaster/tests/ |
D | nist_curve_key_exchange_test.cpp | 108 uint8_t* public_key = new uint8_t[public_key_len]; in TEST() local 110 public_key, public_key_len, nullptr /* ctx */); in TEST() 119 ASSERT_FALSE(key_exchange->CalculateSharedKey(reinterpret_cast<const uint8_t*>(public_key), in TEST()
|
/system/apex/apexd/ |
D | apex_file.cpp | 305 StatusOr<const std::string> public_key = getApexKey(*key_name); in verifyVbMetaSignature() local 307 if (public_key.Ok()) { in verifyVbMetaSignature() 311 st = verifyPublicKey(pk, pk_len, *public_key); in verifyVbMetaSignature() 319 return public_key.ErrorStatus(); in verifyVbMetaSignature()
|
/system/netd/apex/ |
D | Android.bp | 33 public_key: "com.android.resolv.avbpubkey",
|
/system/timezone/apex/ |
D | Android.bp | 38 public_key: "com.android.tzdata.avbpubkey",
|
/system/apex/apexer/ |
D | Android.bp | 54 public_key: "etc/com.android.support.apexer.avbpubkey",
|
/system/apex/shim/build/ |
D | Android.bp | 34 public_key: ":com.android.apex.cts.shim.pubkey", 191 public_key: ":com.android.apex.cts.shim_not_pre_installed.pubkey",
|
/system/update_engine/scripts/ |
D | update_device.py | 410 if args.public_key: 417 cmds.append(['push', args.public_key, PAYLOAD_KEY_PATH])
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 688 Point public_key; in smp_process_private_key() local 694 ECC_PointMult(&public_key, &(curve_p256.G), (uint32_t*)private_key, in smp_process_private_key() 696 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key() 697 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
|
/system/update_engine/ |
D | update_attempter_android.cc | 398 string public_key; in VerifyPayloadApplicable() local 399 if (!utils::ReadFile(constants::kUpdatePayloadPublicKeyPath, &public_key)) { in VerifyPayloadApplicable() 403 payload_metadata.ValidateMetadataSignature(metadata, "", public_key); in VerifyPayloadApplicable()
|
/system/apex/tests/ |
D | Android.bp | 143 public_key: "testdata/com.android.apex.test.avbpubkey",
|