Searched refs:expected_mac (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.cpp | 542 const string& expected_mac) { in CheckHmacTestVector() argument 548 .Authorization(TAG_MIN_MAC_LENGTH, expected_mac.size() * 8) in CheckHmacTestVector() 551 string signature = MacMessage(message, digest, expected_mac.size() * 8); in CheckHmacTestVector() 552 EXPECT_EQ(expected_mac, signature) in CheckHmacTestVector()
|
D | KeymasterHidlTest.h | 174 const string& expected_mac);
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintAidlTestBase.cpp | 905 Digest digest, const string& expected_mac) { in CheckHmacTestVector() argument 911 .Authorization(TAG_MIN_MAC_LENGTH, expected_mac.size() * 8) in CheckHmacTestVector() 914 string signature = MacMessage(message, digest, expected_mac.size() * 8); in CheckHmacTestVector() 915 EXPECT_EQ(expected_mac, signature) in CheckHmacTestVector()
|
D | KeyMintAidlTestBase.h | 203 const string& expected_mac);
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 765 const string& expected_mac) { in CheckHmacTestVector() argument 771 .Authorization(TAG_MIN_MAC_LENGTH, expected_mac.size() * 8) in CheckHmacTestVector() 774 string signature = MacMessage(message, digest, expected_mac.size() * 8); in CheckHmacTestVector() 775 EXPECT_EQ(expected_mac, signature) << "Test vector didn't match for digest " << (int)digest; in CheckHmacTestVector()
|