Home
last modified time | relevance | path

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

/packages/modules/Virtualization/libs/bssl/tests/
Dhmac_test.rs25 const HMAC_SHA256: [u8; 32] = [ in rfc4231_test_case_1() constant
30 assert_eq!(HMAC_SHA256, hmac_sha256(KEY, DATA)?); in rfc4231_test_case_1()
38 const HMAC_SHA256: [u8; 32] = [ in rfc4231_test_case_2() constant
43 assert_eq!(HMAC_SHA256, hmac_sha256(KEY, DATA)?); in rfc4231_test_case_2()
51 const HMAC_SHA256: [u8; 32] = [ in rfc4231_test_case_3() constant
56 assert_eq!(HMAC_SHA256, hmac_sha256(KEY, DATA)?); in rfc4231_test_case_3()
67 const HMAC_SHA256: [u8; 32] = [ in rfc4231_test_case_4() constant
72 assert_eq!(HMAC_SHA256, hmac_sha256(KEY, DATA)?); in rfc4231_test_case_4()
81 const HMAC_SHA256: [u8; 16] = [ in rfc4231_test_case_5() constant
86 assert_eq!(HMAC_SHA256, res[..16]); in rfc4231_test_case_5()
[all …]