Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2682 char corrupt_byte; in TEST_P() local
2684 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
2685 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
2686 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()
2790 char corrupt_byte; in TEST_P() local
2792 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
2793 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
2794 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2388 char corrupt_byte; in TEST_P() local
2390 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
2391 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
2392 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()
2498 char corrupt_byte; in TEST_P() local
2500 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
2501 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
2502 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()