Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.cpp447 const string& expected_mac) { in CheckHmacTestVector() argument
453 .Authorization(TAG_MIN_MAC_LENGTH, expected_mac.size() * 8) in CheckHmacTestVector()
456 string signature = MacMessage(message, digest, expected_mac.size() * 8); in CheckHmacTestVector()
457 EXPECT_EQ(expected_mac, signature) in CheckHmacTestVector()
DKeymasterHidlTest.h170 const string& expected_mac);
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp765 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()