Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2108 char corrupt_byte; in TEST_F() local
2110 corrupt_byte = static_cast<char>(random() % 256); in TEST_F()
2111 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_F()
2112 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_F()
2215 char corrupt_byte; in TEST_F() local
2217 corrupt_byte = static_cast<char>(random() % 256); in TEST_F()
2218 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_F()
2219 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_F()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2713 char corrupt_byte; in TEST_F() local
2715 corrupt_byte = static_cast<char>(random() % 256); in TEST_F()
2716 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_F()
2717 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_F()
2821 char corrupt_byte; in TEST_F() local
2823 corrupt_byte = static_cast<char>(random() % 256); in TEST_F()
2824 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_F()
2825 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_F()