Searched refs:signature_blob (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/payload_generator/ |
D | payload_signer_unittest.cc | 164 brillo::Blob signature_blob; in TEST_F() local 165 SignSampleData(&signature_blob, {kUnittestPrivateKeyPath}); in TEST_F() 169 EXPECT_TRUE(signatures.ParseFromArray(signature_blob.data(), in TEST_F() 170 signature_blob.size())); in TEST_F() 182 brillo::Blob signature_blob; in TEST_F() local 183 SignSampleData(&signature_blob, in TEST_F() 187 EXPECT_TRUE(PayloadVerifier::VerifySignature(signature_blob, in TEST_F() 190 EXPECT_TRUE(PayloadVerifier::VerifySignature(signature_blob, in TEST_F() 196 brillo::Blob signature_blob; in TEST_F() local 197 SignSampleData(&signature_blob, {kUnittestPrivateKeyPath}); in TEST_F() [all …]
|
D | payload_signer.cc | 85 const brillo::Blob& signature_blob, in AddSignatureBlobToPayload() argument 131 if (manifest.signatures_size() != signature_blob.size()) { in AddSignatureBlobToPayload() 134 << "new:" << signature_blob.size() << ")"; in AddSignatureBlobToPayload() 143 signature_blob.size(), in AddSignatureBlobToPayload() 170 signature_blob.begin(), in AddSignatureBlobToPayload() 171 signature_blob.end()); in AddSignatureBlobToPayload() 329 brillo::Blob signature_blob(payload.begin() + signatures_offset, in VerifySignedPayload() local 333 signature_blob, public_key_path, payload_hash)); in VerifySignedPayload() 335 signature_blob.assign(payload.begin() + metadata_size, in VerifySignedPayload() 341 signature_blob, public_key_path, metadata_hash)); in VerifySignedPayload() [all …]
|
D | payload_file.cc | 258 brillo::Blob signature_blob; in WritePayload() local 265 &signature_blob)); in WritePayload() 266 TEST_AND_RETURN_FALSE(writer.Write(signature_blob.data(), in WritePayload() 267 signature_blob.size())); in WritePayload()
|
/system/update_engine/payload_consumer/ |
D | payload_verifier.cc | 87 bool PayloadVerifier::VerifySignature(const brillo::Blob& signature_blob, in VerifySignature() argument 93 LOG(INFO) << "signature blob size = " << signature_blob.size(); in VerifySignature() 94 TEST_AND_RETURN_FALSE(signatures.ParseFromArray(signature_blob.data(), in VerifySignature() 95 signature_blob.size())); in VerifySignature()
|
D | payload_verifier.h | 40 static bool VerifySignature(const brillo::Blob& signature_blob,
|
D | delta_performer.cc | 1798 string signature_blob; in PrimeUpdateState() local 1799 if (prefs_->GetString(kPrefsUpdateStateSignatureBlob, &signature_blob)) { in PrimeUpdateState() 1800 signatures_message_data_.assign(signature_blob.begin(), in PrimeUpdateState() 1801 signature_blob.end()); in PrimeUpdateState()
|