Home
last modified time | relevance | path

Searched refs:min_mac_length (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp790 for (size_t min_mac_length = 0; min_mac_length <= 256; ++min_mac_length) { in TEST_P() local
791 if (min_mac_length < 64 || min_mac_length % 8 != 0) { in TEST_P()
795 if (min_mac_length % 8 == 0 || random() % 10 == 0) { in TEST_P()
800 .Authorization(TAG_MIN_MAC_LENGTH, min_mac_length))) in TEST_P()
801 << "HMAC min mac length " << min_mac_length << " invalid."; in TEST_P()
808 .Authorization(TAG_MIN_MAC_LENGTH, min_mac_length))) in TEST_P()
809 << "Failed to generate HMAC key with min MAC length " << min_mac_length; in TEST_P()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp1322 for (size_t min_mac_length = 0; min_mac_length <= 256; ++min_mac_length) { in TEST_P() local
1323 if (min_mac_length < 64 || min_mac_length % 8 != 0) { in TEST_P()
1327 if (min_mac_length % 8 == 0 || random() % 10 == 0) { in TEST_P()
1332 .Authorization(TAG_MIN_MAC_LENGTH, min_mac_length))) in TEST_P()
1333 << "HMAC min mac length " << min_mac_length << " invalid."; in TEST_P()
1340 .Authorization(TAG_MIN_MAC_LENGTH, min_mac_length))); in TEST_P()