Searched refs:sig_data (Results 1 – 3 of 3) sorted by relevance
106 brillo::Blob sig_data(signature.data().begin(), signature.data().end()); in VerifySignature() local108 if (!GetRawHashFromSignature(sig_data, public_key_path, &sig_hash_data)) in VerifySignature()130 const brillo::Blob& sig_data, in GetRawHashFromSignature() argument152 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()
47 static bool GetRawHashFromSignature(const brillo::Blob& sig_data,
174 const string sig_data = signature.data(); in TEST_F() local175 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()