Home
last modified time | relevance | path

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

/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintTest.cpp3950 char corrupt_byte; in TEST_P() local
3952 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
3953 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
3954 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()
4070 char corrupt_byte; in TEST_P() local
4072 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
4073 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
4074 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()
4159 char corrupt_byte; in TEST_P() local
4161 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
[all …]
/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.cpp2506 char corrupt_byte; in TEST_P() local
2508 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
2509 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
2510 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()
2617 char corrupt_byte; in TEST_P() local
2619 corrupt_byte = static_cast<char>(random() % 256); in TEST_P()
2620 } while (corrupt_byte == ciphertext1[offset_to_corrupt]); in TEST_P()
2621 ciphertext1[offset_to_corrupt] = corrupt_byte; in TEST_P()