Home
last modified time | relevance | path

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

/lib/crypto/tests/
A Dpoly1305_kunit.c119 u8 expected_mac[POLY1305_DIGEST_SIZE]; in test_poly1305_reduction_edge_cases() local
133 expected_mac[0] = 5 - i; in test_poly1305_reduction_edge_cases()
134 memset(&expected_mac[1], 0, POLY1305_DIGEST_SIZE - 1); in test_poly1305_reduction_edge_cases()
136 expected_mac[0] = -i; in test_poly1305_reduction_edge_cases()
137 memset(&expected_mac[1], 0xff, in test_poly1305_reduction_edge_cases()
143 KUNIT_ASSERT_MEMEQ(test, actual_mac, expected_mac, in test_poly1305_reduction_edge_cases()

Completed in 3 milliseconds