Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_file.cc103 const string& private_key_path, in WritePayload() argument
174 if (!private_key_path.empty()) { in WritePayload()
176 PayloadSigner::SignatureBlobLength(vector<string>(1, private_key_path), in WritePayload()
228 !private_key_path.empty()) { in WritePayload()
235 vector<string>(1, private_key_path), in WritePayload()
258 if (!private_key_path.empty()) { in WritePayload()
263 vector<string>(1, private_key_path), in WritePayload()
Dpayload_signer.h67 const std::string& private_key_path,
134 const std::string& private_key_path,
Ddelta_diff_generator.cc56 const string& private_key_path, in GenerateUpdatePayloadFile() argument
129 private_key_path, metadata_size)); in GenerateUpdatePayloadFile()
Ddelta_diff_generator.h41 const std::string& private_key_path,
Dpayload_file.h54 const std::string& private_key_path,
Dpayload_signer.cc347 const string& private_key_path, in SignHash() argument
349 LOG(INFO) << "Signing hash with private key: " << private_key_path; in SignHash()
360 FILE* fprikey = fopen(private_key_path.c_str(), "rb"); in SignHash()
502 const string& private_key_path, in GetMetadataSignature() argument
513 private_key_path, in GetMetadataSignature()
/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.cc169 static size_t GetSignatureSize(const string& private_key_path) { in GetSignatureSize() argument
175 private_key_path, in GetSignatureSize()
196 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedPayload() local
197 int signature_size = GetSignatureSize(private_key_path); in SignGeneratedPayload()
202 ASSERT_TRUE(PayloadSigner::SignHash(hash, private_key_path, &signature)); in SignGeneratedPayload()
211 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedShellPayload() local
214 &private_key_path, in SignGeneratedShellPayload()
221 ScopedPathUnlinker key_unlinker(private_key_path); in SignGeneratedShellPayload()
234 FILE* fprikey = fopen(private_key_path.c_str(), "w"); in SignGeneratedShellPayload()
242 int signature_size = GetSignatureSize(private_key_path); in SignGeneratedShellPayload()
[all …]
/system/core/adb/
Dadb_auth_host.cpp76 static bool write_public_keyfile(RSA* private_key, const std::string& private_key_path) { in write_public_keyfile() argument
99 std::string path(private_key_path + ".pub"); in write_public_keyfile()