Home
last modified time | relevance | path

Searched refs:sig_data (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_consumer/
Dpayload_verifier.cc106 brillo::Blob sig_data(signature.data().begin(), signature.data().end()); in VerifySignature() local
108 if (!GetRawHashFromSignature(sig_data, public_key_path, &sig_hash_data)) in VerifySignature()
130 const brillo::Blob& sig_data, in GetRawHashFromSignature() argument
152 if (sig_data.size() > 2 * keysize) { in GetRawHashFromSignature()
160 int decrypt_size = RSA_public_decrypt(sig_data.size(), in GetRawHashFromSignature()
161 sig_data.data(), in GetRawHashFromSignature()
Dpayload_verifier.h47 static bool GetRawHashFromSignature(const brillo::Blob& sig_data,
/system/update_engine/payload_generator/
Dpayload_signer_unittest.cc174 const string sig_data = signature.data(); in TEST_F() local
175 ASSERT_EQ(arraysize(kDataSignature), sig_data.size()); in TEST_F()
177 EXPECT_EQ(kDataSignature[i], static_cast<uint8_t>(sig_data[i])); in TEST_F()