Home
last modified time | relevance | path

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

/src/contrib/ntp/sntp/tests/
H A Dcrypto.c35 const u_char EXPECTED_DIGEST[] = in test_MakeSHAKE128Mac() local
38 u_char actual[sizeof(EXPECTED_DIGEST) - 1]; in test_MakeSHAKE128Mac()
52 TEST_ASSERT_EQUAL_HEX8_ARRAY(EXPECTED_DIGEST, actual, sizeof(actual)); in test_MakeSHAKE128Mac()
68 const char* EXPECTED_DIGEST = in test_MakeSHA1Mac() local
85 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, SHA1_LENGTH); in test_MakeSHA1Mac()
102 const char* EXPECTED_DIGEST = in test_MakeCMac() local
117 TEST_ASSERT_EQUAL_MEMORY(EXPECTED_DIGEST, actual, CMAC_LENGTH); in test_MakeCMac()
134 const u_char EXPECTED_DIGEST[] = in test_VerifySHAKE128() local
137 const size_t DIGEST_LEN = sizeof(EXPECTED_DIGEST) - 1; in test_VerifySHAKE128()
153 memcpy(p, EXPECTED_DIGEST, DIGEST_LEN); p += DIGEST_LEN; in test_VerifySHAKE128()
[all …]