Home
last modified time | relevance | path

Searched refs:sign_data (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/coset/src/sign/
Dtests.rs378 for (i, (sign, sign_data)) in tests.iter().enumerate() { in test_cose_sign_encode()
380 assert_eq!(*sign_data, hex::encode(&got), "case {}", i); in test_cose_sign_encode()
391 let tagged_sign_data = format!("d862{}", sign_data); in test_cose_sign_encode()
503 for (sign_data, err_msg) in tests.iter() { in test_cose_sign_decode_fail()
504 let data = hex::decode(sign_data).unwrap(); in test_cose_sign_decode_fail()
592 for (sign_data, err_msg) in tests.iter() { in test_cose_sign_tagged_decode_fail()
593 let data = hex::decode(sign_data).unwrap(); in test_cose_sign_tagged_decode_fail()
742 for (i, (sign, sign_data)) in tests.iter().enumerate() { in test_rfc8152_cose_sign_decode()
745 *sign_data, in test_rfc8152_cose_sign_decode()
831 for (i, (sign, sign_data)) in tests.iter().enumerate() { in test_cose_sign1_encode()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.c378 u8 *sign_data, *pos, *buf, hash[IKEV2_MAX_HASH_LEN]; in ikev2_derive_auth_data() local
403 sign_data = os_malloc(sign_len); in ikev2_derive_auth_data()
404 if (sign_data == NULL) in ikev2_derive_auth_data()
406 pos = sign_data; in ikev2_derive_auth_data()
417 (const u8 **) &sign_data, &sign_len, auth_data) < 0) in ikev2_derive_auth_data()
419 os_free(sign_data); in ikev2_derive_auth_data()
422 os_free(sign_data); in ikev2_derive_auth_data()