Home
last modified time | relevance | path

Searched refs:hex_data (Results 1 – 5 of 5) sorted by relevance

/system/keymint/common/src/keyblob/legacy/
Dtests.rs185 for (hex_data, want) in tests { in test_serialize_encrypted_keyblob()
186 let data = hex::decode(hex_data).unwrap(); in test_serialize_encrypted_keyblob()
243 for (hex_data, msg) in tests { in test_deserialize_encrypted_keyblob_fail()
244 let data = hex::decode(hex_data).unwrap(); in test_deserialize_encrypted_keyblob_fail()
/system/keymint/tests/tests/
Dkeyblob_test.rs93 for (hex_data, want) in tests { in test_serialize_authenticated_legacy_keyblob()
94 let mut data = hex::decode(hex_data).unwrap(); in test_serialize_authenticated_legacy_keyblob()
154 for (hex_data, msg) in tests { in test_deserialize_authenticated_legacy_keyblob_fail()
155 let mut data = hex::decode(hex_data).unwrap(); in test_deserialize_authenticated_legacy_keyblob_fail()
/system/keymint/common/src/tag/
Dtests.rs53 for (hex_data, want_params) in tests { in test_legacy_serialization()
54 let want_data = hex::decode(hex_data).unwrap(); in test_legacy_serialization()
57 assert_eq!(hex::encode(got_data), hex_data); in test_legacy_serialization()
/system/keymint/wire/src/
Dlegacy.rs696 let hex_data = concat!( in test_inner_serialize() localVariable
705 let hex_data = concat!( in test_inner_serialize() localVariable
713 let data = hex::decode(hex_data).unwrap(); in test_inner_serialize()
717 assert_eq!(hex::encode(got_data), hex_data); in test_inner_serialize()
/system/authgraph/tests/src/
Dlib.rs1239 let mut hex_data = in test_example_identity_validate() localVariable
1241 hex_data.retain(|c| !c.is_whitespace()); in test_example_identity_validate()
1242 let data = hex::decode(hex_data).unwrap(); in test_example_identity_validate()