Searched refs:private_key_path (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_generator/ |
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_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() 293 const string& private_key_path, in SignHash() argument 295 LOG(INFO) << "Signing hash with private key: " << private_key_path; in SignHash() 303 auto private_key = CreatePrivateKeyFromPath(private_key_path); in SignHash() 305 LOG(ERROR) << "Failed to create private key from " << private_key_path; in SignHash() [all …]
|
D | payload_file.cc | 107 const string& private_key_path, in WritePayload() argument 171 if (!private_key_path.empty()) { in WritePayload() 173 {private_key_path}, &signature_blob_length)); in WritePayload() 218 if (!private_key_path.empty()) { in WritePayload() 224 metadata_hash, {private_key_path}, &metadata_signature)); in WritePayload() 246 if (!private_key_path.empty()) { in WritePayload() 251 {private_key_path}, in WritePayload()
|
D | delta_diff_generator.h | 41 const std::string& private_key_path,
|
D | payload_file.h | 54 const std::string& private_key_path,
|
D | delta_diff_generator.cc | 95 const string& private_key_path, in GenerateUpdatePayloadFile() argument 176 output_path, temp_file_path, private_key_path, metadata_size)); in GenerateUpdatePayloadFile()
|
/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 | 189 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedPayload() local 191 ASSERT_TRUE(PayloadSigner::GetMaximumSignatureSize(private_key_path, in SignGeneratedPayload() 198 payload_hash, private_key_path, &payload_signature)); in SignGeneratedPayload() 200 metadata_hash, private_key_path, &metadata_signature)); in SignGeneratedPayload() 305 string private_key_path; in SignGeneratedShellPayload() local 307 ASSERT_TRUE(utils::MakeTempFile("key.XXXXXX", &private_key_path, nullptr)); in SignGeneratedShellPayload() 309 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyECPath); in SignGeneratedShellPayload() 311 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedShellPayload() 313 ScopedPathUnlinker key_unlinker(private_key_path); in SignGeneratedShellPayload() 327 FILE* fprikey = fopen(private_key_path.c_str(), "w"); in SignGeneratedShellPayload() [all …]
|