Searched refs:sig_data (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/payload_consumer/ |
D | payload_verifier.cc | 114 brillo::Blob sig_data; in VerifySignature() local 120 sig_data.assign( in VerifySignature() 124 sig_data.assign(signature.data().begin(), signature.data().end()); in VerifySignature() 128 if (VerifyRawSignature(sig_data, sha256_hash_data, &sig_hash_data)) { in VerifySignature() 148 const brillo::Blob& sig_data, in VerifyRawSignature() argument 158 sig_data, public_key.get(), &sig_hash_data)) { in VerifyRawSignature() 181 sig_data.data(), in VerifyRawSignature() 182 sig_data.size(), in VerifyRawSignature() 197 const brillo::Blob& sig_data, in GetRawHashFromSignature() argument 208 if (sig_data.size() > 2 * keysize) { in GetRawHashFromSignature() [all …]
|
D | payload_verifier.h | 68 bool VerifyRawSignature(const brillo::Blob& sig_data, 81 bool GetRawHashFromSignature(const brillo::Blob& sig_data,
|
/system/update_engine/scripts/update_payload/ |
D | checker_unittest.py | 320 sig_data, sig_asn1_header, argument 336 mock_payload_checker([], send_data=sig_data) 342 sig_data, 'foo', expected_signed_hash, 'bar')) 346 sig_data, 'foo', expected_signed_hash, 'bar') 350 sig_data = 'fake-signature'.ljust(256) 352 self.DoCheckSha256SignatureTest(True, True, sig_data, 358 sig_data = 'fake-signature' # Malformed (not 256 bytes in length). 360 self.DoCheckSha256SignatureTest(False, False, sig_data, 366 sig_data = 'fake-signature'.ljust(256) 368 self.DoCheckSha256SignatureTest(False, True, sig_data, [all …]
|
D | checker.py | 507 def _CheckSha256Signature(sig_data, pubkey_file_name, actual_hash, sig_name): argument 519 if len(sig_data) != 256: 522 (sig_name, len(sig_data))) 525 send_data=sig_data)
|
/system/update_engine/payload_generator/ |
D | payload_signer_unittest.cc | 121 const string& sig_data = sig.data(); in TEST_F() local 122 ASSERT_EQ(base::size(kDataSignature), sig_data.size()); in TEST_F() 124 EXPECT_EQ(kDataSignature[i], static_cast<uint8_t>(sig_data[i])); in TEST_F()
|