Searched refs:corrupt_signature (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/security/authgraph/aidl/vts/functional/ |
D | sink.rs | 160 let mut corrupt_signature = source_info.session_id_signature.clone(); in test_corrupt_sig() localVariable 161 let sig_len = corrupt_signature.len(); in test_corrupt_sig() 162 corrupt_signature[sig_len - 1] ^= 0x01; in test_corrupt_sig() 167 sink.authenticationComplete(&vec_to_signature(&corrupt_signature), &sink_info.sharedKeys); in test_corrupt_sig()
|
D | source.rs | 158 let mut corrupt_signature = sink_info.session_id_signature.clone(); in test_corrupt_sig() localVariable 159 let sig_len = corrupt_signature.len(); in test_corrupt_sig() 160 corrupt_signature[sig_len - 1] ^= 0x01; in test_corrupt_sig() 171 &vec_to_signature(&corrupt_signature), in test_corrupt_sig()
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 2108 string corrupt_signature(signature); in TEST_P() local 2109 ++corrupt_signature[corrupt_signature.size() / 2]; in TEST_P() 2115 EXPECT_EQ(ErrorCode::VERIFICATION_FAILED, Finish(message, corrupt_signature, &result)); in TEST_P() 2184 string corrupt_signature(signature); in TEST_P() local 2185 ++corrupt_signature[corrupt_signature.size() / 2]; in TEST_P() 2192 EXPECT_EQ(ErrorCode::VERIFICATION_FAILED, Finish(message, corrupt_signature, &result)) in TEST_P()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 1733 string corrupt_signature(signature); in TEST_P() local 1734 ++corrupt_signature[corrupt_signature.size() / 2]; in TEST_P() 1740 EXPECT_EQ(ErrorCode::VERIFICATION_FAILED, Finish(message, corrupt_signature, &result)); in TEST_P() 1806 string corrupt_signature(signature); in TEST_P() local 1807 ++corrupt_signature[corrupt_signature.size() / 2]; in TEST_P() 1814 EXPECT_EQ(ErrorCode::VERIFICATION_FAILED, Finish(message, corrupt_signature, &result)) in TEST_P()
|