Searched refs:hex_data (Results 1 – 5 of 5) sorted by relevance
185 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()
93 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()
53 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()
696 let hex_data = concat!( in test_inner_serialize() localVariable705 let hex_data = concat!( in test_inner_serialize() localVariable713 let data = hex::decode(hex_data).unwrap(); in test_inner_serialize()717 assert_eq!(hex::encode(got_data), hex_data); in test_inner_serialize()
1239 let mut hex_data = in test_example_identity_validate() localVariable1241 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()