Searched refs:private_key_path (Results 1 – 9 of 9) sorted by relevance
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 198 const string& private_key_path) { in CreatePrivateKeyFromPath() argument 199 FILE* fprikey = fopen(private_key_path.c_str(), "rb"); in CreatePrivateKeyFromPath() 201 PLOG(ERROR) << "Failed to read " << private_key_path; in CreatePrivateKeyFromPath() 213 bool PayloadSigner::GetMaximumSignatureSize(const string& private_key_path, in GetMaximumSignatureSize() argument 216 auto private_key = CreatePrivateKeyFromPath(private_key_path); in GetMaximumSignatureSize() 218 LOG(ERROR) << "Failed to create private key from " << private_key_path; in GetMaximumSignatureSize() 278 const string& private_key_path, in SignHash() argument 280 LOG(INFO) << "Signing hash with private key: " << private_key_path; in SignHash() 288 auto private_key = CreatePrivateKeyFromPath(private_key_path); in SignHash() 290 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 | 122 const string& private_key_path, in WritePayload() argument 197 if (!private_key_path.empty()) { in WritePayload() 199 {private_key_path}, &signature_blob_length)); in WritePayload() 205 private_key_path, in WritePayload() 216 const std::string& private_key_path, in WritePayload() argument 262 if (!private_key_path.empty()) { in WritePayload() 268 metadata_hash, {private_key_path}, &metadata_signature)); in WritePayload() 289 if (!private_key_path.empty()) { in WritePayload() 294 {private_key_path}, in WritePayload()
|
D | payload_file.h | 58 const std::string& private_key_path, 63 const std::string& private_key_path,
|
D | delta_diff_generator.h | 42 const std::string& private_key_path,
|
D | delta_diff_generator.cc | 172 const string& private_key_path, in GenerateUpdatePayloadFile() argument 261 output_path, data_file.path(), private_key_path, metadata_size)); in GenerateUpdatePayloadFile()
|
/system/update_engine/aosp/ |
D | update_attempter_android_integration_test.cc | 187 const std::string& private_key_path) { in AddSignatureInfoToPayload() argument 201 if (!private_key_path.empty()) { in AddSignatureInfoToPayload() 202 ASSERT_TRUE(PayloadSigner::SignatureBlobLength({private_key_path}, in AddSignatureInfoToPayload() 271 const auto private_key_path = in ApplyPayload() local 274 AddSignatureInfoToPayload(manifest, private_key_path)); in ApplyPayload() 297 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 | 222 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedPayload() local 224 ASSERT_TRUE(PayloadSigner::GetMaximumSignatureSize(private_key_path, in SignGeneratedPayload() 231 payload_hash, private_key_path, &payload_signature)); in SignGeneratedPayload() 233 metadata_hash, private_key_path, &metadata_signature)); in SignGeneratedPayload() 335 string private_key_path; in SignGeneratedShellPayload() local 337 ASSERT_TRUE(utils::MakeTempFile("key.XXXXXX", &private_key_path, nullptr)); in SignGeneratedShellPayload() 339 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyECPath); in SignGeneratedShellPayload() 341 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedShellPayload() 343 ScopedPathUnlinker key_unlinker(private_key_path); in SignGeneratedShellPayload() 357 FILE* fprikey = fopen(private_key_path.c_str(), "w"); in SignGeneratedShellPayload() [all …]
|