Searched defs:private_key_path (Results 1 - 6 of 6) sorted by relevance

/system/update_engine/payload_generator/
H A Ddelta_diff_generator.cc56 const string& private_key_path,
129 private_key_path, metadata_size));
53 GenerateUpdatePayloadFile( const PayloadGenerationConfig& config, const string& output_path, const string& private_key_path, uint64_t* metadata_size) argument
H A Dpayload_file.cc106 const string& private_key_path,
177 if (!private_key_path.empty()) {
179 PayloadSigner::SignatureBlobLength(vector<string>(1, private_key_path),
231 !private_key_path.empty()) {
238 vector<string>(1, private_key_path),
261 if (!private_key_path.empty()) {
266 vector<string>(1, private_key_path),
104 WritePayload(const string& payload_file, const string& data_blobs_path, const string& private_key_path, uint64_t* metadata_size_out) argument
H A Dpayload_signer.cc349 const string& private_key_path,
351 LOG(INFO) << "Signing hash with private key: " << private_key_path;
359 // openssl rsautl -raw -sign -inkey |private_key_path|
362 FILE* fprikey = fopen(private_key_path.c_str(), "rb");
504 const string& private_key_path,
515 private_key_path,
348 SignHash(const brillo::Blob& hash, const string& private_key_path, brillo::Blob* out_signature) argument
502 GetMetadataSignature(const void* const metadata, size_t metadata_size, const string& private_key_path, string* out_signature) argument
/system/extras/verity/
H A Dgenerate_verity_key.c34 static int write_public_keyfile(RSA *private_key, const char *private_key_path) argument
41 if (asprintf(&path, "%s.pub", private_key_path) < 0)
/system/core/adb/
H A Dadb_auth_host.cpp76 static bool write_public_keyfile(RSA* private_key, const std::string& private_key_path) { argument
99 std::string path(private_key_path + ".pub");
/system/update_engine/payload_consumer/
H A Ddelta_performer_integration_test.cc169 static size_t GetSignatureSize(const string& private_key_path) { argument
175 private_key_path,
196 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); local
197 int signature_size = GetSignatureSize(private_key_path);
202 ASSERT_TRUE(PayloadSigner::SignHash(hash, private_key_path, &signature));
211 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); local
214 &private_key_path,
221 ScopedPathUnlinker key_unlinker(private_key_path);
228 // openssl genrsa -out <private_key_path> 2048
234 FILE* fprikey = fopen(private_key_path
[all...]

Completed in 325 milliseconds