Home
last modified time | relevance | path

Searched refs:private_key_path (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_signer.h53 const std::string& private_key_path,
119 const std::string& private_key_path,
Dpayload_file.cc113 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()
Ddelta_diff_generator.h41 const std::string& private_key_path,
Ddelta_diff_generator.cc55 const string& private_key_path, in GenerateUpdatePayloadFile() argument
125 output_path, temp_file_path, private_key_path, metadata_size)); in GenerateUpdatePayloadFile()
Dpayload_signer.cc271 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()
Dpayload_file.h54 const std::string& private_key_path,
/system/extras/verity/
Dgenerate_verity_key.c34 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/
Ddelta_performer_integration_test.cc167 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 …]