Searched refs:private_key_path (Results 1 – 9 of 9) sorted by relevance
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 211 const string& private_key_path) { in CreatePrivateKeyFromPath() argument 212 FILE* fprikey = fopen(private_key_path.c_str(), "rb"); in CreatePrivateKeyFromPath() 214 PLOG(ERROR) << "Failed to read " << private_key_path; in CreatePrivateKeyFromPath() 226 bool PayloadSigner::GetMaximumSignatureSize(const string& private_key_path, in GetMaximumSignatureSize() argument 229 auto private_key = CreatePrivateKeyFromPath(private_key_path); in GetMaximumSignatureSize() 231 LOG(ERROR) << "Failed to create private key from " << private_key_path; in GetMaximumSignatureSize() 291 const string& private_key_path, in SignHash() argument 293 LOG(INFO) << "Signing hash with private key: " << private_key_path; in SignHash() 301 auto private_key = CreatePrivateKeyFromPath(private_key_path); in SignHash() 303 LOG(ERROR) << "Failed to create private key from " << private_key_path; in SignHash() [all …]
|
D | payload_signer.h | 50 const std::string& private_key_path, 117 const std::string& private_key_path, 127 static bool GetMaximumSignatureSize(const std::string& private_key_path,
|
D | payload_file.cc | 120 const string& private_key_path, in WritePayload() argument 192 if (!private_key_path.empty()) { in WritePayload() 194 {private_key_path}, &signature_blob_length)); in WritePayload() 200 private_key_path, in WritePayload() 211 const std::string& private_key_path, in WritePayload() argument 257 if (!private_key_path.empty()) { in WritePayload() 263 metadata_hash, {private_key_path}, &metadata_signature)); in WritePayload() 284 if (!private_key_path.empty()) { in WritePayload() 289 {private_key_path}, in WritePayload()
|
D | payload_file.h | 56 const std::string& private_key_path, 61 const std::string& private_key_path,
|
D | delta_diff_generator.h | 42 const std::string& private_key_path,
|
D | delta_diff_generator.cc | 164 const string& private_key_path, in GenerateUpdatePayloadFile() argument 252 output_path, data_file.path(), private_key_path, metadata_size)); in GenerateUpdatePayloadFile()
|
/system/update_engine/aosp/ |
D | update_attempter_android_integration_test.cc | 186 const std::string& private_key_path) { in AddSignatureInfoToPayload() argument 200 if (!private_key_path.empty()) { in AddSignatureInfoToPayload() 201 ASSERT_TRUE(PayloadSigner::SignatureBlobLength({private_key_path}, in AddSignatureInfoToPayload() 270 const auto private_key_path = in ApplyPayload() local 273 AddSignatureInfoToPayload(manifest, private_key_path)); in ApplyPayload() 296 private_key_path, in ApplyPayload()
|
/system/extras/verity/ |
D | generate_verity_key.c | 34 static int write_public_keyfile(RSA *private_key, const char *private_key_path) in write_public_keyfile() argument 41 if (asprintf(&path, "%s.pub", private_key_path) < 0) in write_public_keyfile()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 223 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedPayload() local 225 ASSERT_TRUE(PayloadSigner::GetMaximumSignatureSize(private_key_path, in SignGeneratedPayload() 232 payload_hash, private_key_path, &payload_signature)); in SignGeneratedPayload() 234 metadata_hash, private_key_path, &metadata_signature)); in SignGeneratedPayload() 336 string private_key_path; in SignGeneratedShellPayload() local 338 ASSERT_TRUE(utils::MakeTempFile("key.XXXXXX", &private_key_path, nullptr)); in SignGeneratedShellPayload() 340 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyECPath); in SignGeneratedShellPayload() 342 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedShellPayload() 344 ScopedPathUnlinker key_unlinker(private_key_path); in SignGeneratedShellPayload() 358 FILE* fprikey = fopen(private_key_path.c_str(), "w"); in SignGeneratedShellPayload() [all …]
|