Lines Matching full:hex
176 hex::decode("6b4ad240073b99cad65ab8417ce29c6844ad0ae77ce8b3f7e41233f5b9129465") in test_cose_key_encode()
178 hex::decode("a7dc1c39391ab300f7b1787b6e569a031dd0750fe2509b880a41f06666fff785") in test_cose_key_encode()
196 hex::decode("aabbcc").unwrap(), in test_cose_key_encode()
211 assert_eq!(*key_data, hex::encode(&got), "case {}", i); in test_cose_key_encode()
221 keyset_data.extend_from_slice(&hex::decode(key_data).unwrap()); in test_cose_key_encode()
224 assert_eq!(hex::encode(keyset_data), hex::encode(&got_data)); in test_cose_key_encode()
238 … hex::decode("65eda5a12577c2bae829437fe338701a10aaa375e1bb5b5de108de439c08551d").unwrap(), in test_rfc8152_public_cose_key_decode()
239 … hex::decode("1e52ed75701163f7f9e40ddf9f341b3dc9ba860af7e0ca7ca7e9eecd0084d19c").unwrap(), in test_rfc8152_public_cose_key_decode()
253 … hex::decode("bac5b11cad8f99f9c72b05cf4b9e26d244dc189f745228255a219a86d6a09eff").unwrap(), in test_rfc8152_public_cose_key_decode()
254 … hex::decode("20138bf82dc1b6d562be0fa54ab7804a3a64b6d72ccfed6b6fb6ed28bbfc117e").unwrap(), in test_rfc8152_public_cose_key_decode()
267 …hex::decode("0072992cb3ac08ecf3e5c63dedec0d51a8c1f79ef2f82f94f3c737bf5de7986671eac625fe8257bbd0394… in test_rfc8152_public_cose_key_decode()
268 …hex::decode("01dca6947bce88bc5790485ac97427342bc35f887d86d65a089377e247e60baa55e4e8501e2ada5724ac5… in test_rfc8152_public_cose_key_decode()
282 … hex::decode("98f50a4ff6c05861c8860d13a638ea56c3f5ad7590bbfbf054e1c7b4d91d6280").unwrap(), in test_rfc8152_public_cose_key_decode()
283 … hex::decode("f01400b089867804b8e9fc96c3932161f1934f4223069170d924b7e03bf822bb").unwrap(), in test_rfc8152_public_cose_key_decode()
296 assert_eq!(*key_data, hex::encode(&got), "case {}", i); in test_rfc8152_public_cose_key_decode()
306 keyset_data.extend_from_slice(&hex::decode(key_data).unwrap()); in test_rfc8152_public_cose_key_decode()
309 assert_eq!(hex::encode(keyset_data), hex::encode(got)); in test_rfc8152_public_cose_key_decode()
320 … hex::decode("65eda5a12577c2bae829437fe338701a10aaa375e1bb5b5de108de439c08551d").unwrap(), in test_rfc8152_private_cose_key_decode()
321 … hex::decode("1e52ed75701163f7f9e40ddf9f341b3dc9ba860af7e0ca7ca7e9eecd0084d19c").unwrap(), in test_rfc8152_private_cose_key_decode()
322 … hex::decode("aff907c99f9ad3aae6c4cdf21122bce2bd68b5283e6907154ad911840fa208cf").unwrap(), in test_rfc8152_private_cose_key_decode()
337 … hex::decode("bac5b11cad8f99f9c72b05cf4b9e26d244dc189f745228255a219a86d6a09eff").unwrap(), in test_rfc8152_private_cose_key_decode()
338 … hex::decode("20138bf82dc1b6d562be0fa54ab7804a3a64b6d72ccfed6b6fb6ed28bbfc117e").unwrap(), in test_rfc8152_private_cose_key_decode()
339 … hex::decode("57c92077664146e876760c9520d054aa93c3afb04e306705db6090308507b4d3").unwrap(), in test_rfc8152_private_cose_key_decode()
353 …hex::decode("0072992cb3ac08ecf3e5c63dedec0d51a8c1f79ef2f82f94f3c737bf5de7986671eac625fe8257bbd0394… in test_rfc8152_private_cose_key_decode()
354 …hex::decode("01dca6947bce88bc5790485ac97427342bc35f887d86d65a089377e247e60baa55e4e8501e2ada5724ac5… in test_rfc8152_private_cose_key_decode()
355 …hex::decode("00085138ddabf5ca975f5860f91a08e91d6d5f9a76ad4018766a476680b55cd339e8ab6c72b5facdb2a2a… in test_rfc8152_private_cose_key_decode()
372 …Value::Bytes(hex::decode("849b57219dae48de646d07dbb533566e976686457c1491be3a76dcea6c427188").unwra… in test_rfc8152_private_cose_key_decode()
385 … hex::decode("98f50a4ff6c05861c8860d13a638ea56c3f5ad7590bbfbf054e1c7b4d91d6280").unwrap(), in test_rfc8152_private_cose_key_decode()
386 … hex::decode("f01400b089867804b8e9fc96c3932161f1934f4223069170d924b7e03bf822bb").unwrap(), in test_rfc8152_private_cose_key_decode()
387 … hex::decode("02d1f7e6f26c43d4868d87ceb2353161740aacf1f7163647984b522a848df1c3").unwrap(), in test_rfc8152_private_cose_key_decode()
404 Value::Bytes(hex::decode("849b5786457c1491be3a76dcea6c4271").unwrap()), in test_rfc8152_private_cose_key_decode()
420 …Value::Bytes(hex::decode("849b57219dae48de646d07dbb533566e976686457c1491be3a76dcea6c427188").unwra… in test_rfc8152_private_cose_key_decode()
433 assert_eq!(*key_data, hex::encode(&got), "case {}", i); in test_rfc8152_private_cose_key_decode()
443 keyset_data.extend_from_slice(&hex::decode(key_data).unwrap()); in test_rfc8152_private_cose_key_decode()
446 assert_eq!(hex::encode(keyset_data), hex::encode(got)); in test_rfc8152_private_cose_key_decode()
564 let data = hex::decode(key_data).unwrap(); in test_cose_key_decode_fail()
582 let data = hex::decode(keyset_data).unwrap(); in test_cose_keyset_decode_fail()
611 let data = hex::decode(key_data).unwrap(); in test_cose_key_decode_dup_fail()