Searched refs:sig_data (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/payload_consumer/ |
D | payload_verifier.cc | 113 brillo::Blob sig_data; in VerifySignature() local 119 sig_data.assign( in VerifySignature() 123 sig_data.assign(signature.data().begin(), signature.data().end()); in VerifySignature() 127 if (VerifyRawSignature(sig_data, sha256_hash_data, &sig_hash_data)) { in VerifySignature() 147 const brillo::Blob& sig_data, in VerifyRawSignature() argument 157 sig_data, public_key.get(), &sig_hash_data)) { in VerifyRawSignature() 180 sig_data.data(), in VerifyRawSignature() 181 sig_data.size(), in VerifyRawSignature() 196 const brillo::Blob& sig_data, in GetRawHashFromSignature() argument 207 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/payload_generator/ |
D | payload_signer_unittest.cc | 113 const string& sig_data = sig.data(); in TEST_F() local 114 ASSERT_EQ(base::size(kDataSignature), sig_data.size()); in TEST_F() 116 EXPECT_EQ(kDataSignature[i], static_cast<uint8_t>(sig_data[i])); in TEST_F()
|
/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/keymint/ta/src/ |
D | keys.rs | 172 let sig_data = match info.as_ref() { in generate_cert() localVariable 177 let cert = cert::certificate(tbs_cert, &sig_data)?; in generate_cert()
|