Searched refs:private_key_path (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/payload_generator/ |
D | payload_signer.h | 53 const std::string& private_key_path, 119 const std::string& private_key_path,
|
D | payload_file.cc | 113 const string& private_key_path, in WritePayload() argument 198 if (!private_key_path.empty()) { in WritePayload() 200 {private_key_path}, &signature_blob_length)); in WritePayload() 253 !private_key_path.empty()) { in WritePayload() 259 metadata_hash, {private_key_path}, &metadata_signature)); in WritePayload() 281 if (!private_key_path.empty()) { in WritePayload() 286 {private_key_path}, in WritePayload()
|
D | delta_diff_generator.h | 41 const std::string& private_key_path,
|
D | delta_diff_generator.cc | 55 const string& private_key_path, in GenerateUpdatePayloadFile() argument 125 output_path, temp_file_path, private_key_path, metadata_size)); in GenerateUpdatePayloadFile()
|
D | payload_signer.cc | 271 const string& private_key_path, in SignHash() argument 273 LOG(INFO) << "Signing hash with private key: " << private_key_path; in SignHash() 281 FILE* fprikey = fopen(private_key_path.c_str(), "rb"); in SignHash() 422 const string& private_key_path, in GetMetadataSignature() argument 431 TEST_AND_RETURN_FALSE(SignHash(metadata_hash, private_key_path, &signature)); in GetMetadataSignature()
|
D | payload_file.h | 54 const std::string& private_key_path,
|
/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 | 167 static size_t GetSignatureSize(const string& private_key_path) { in GetSignatureSize() argument 172 EXPECT_TRUE(PayloadSigner::SignHash(hash, private_key_path, &signature)); in GetSignatureSize() 188 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedPayload() local 189 int signature_size = GetSignatureSize(private_key_path); in SignGeneratedPayload() 194 ASSERT_TRUE(PayloadSigner::SignHash(hash, private_key_path, &signature)); in SignGeneratedPayload() 203 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedShellPayload() local 205 ASSERT_TRUE(utils::MakeTempFile("key.XXXXXX", &private_key_path, nullptr)); in SignGeneratedShellPayload() 211 ScopedPathUnlinker key_unlinker(private_key_path); in SignGeneratedShellPayload() 224 FILE* fprikey = fopen(private_key_path.c_str(), "w"); in SignGeneratedShellPayload() 232 int signature_size = GetSignatureSize(private_key_path); in SignGeneratedShellPayload() [all …]
|