Home
last modified time | relevance | path

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

/linux/lib/crypto/tests/
H A Dpoly1305_kunit.c117 u8 actual_mac[POLY1305_DIGEST_SIZE]; in test_poly1305_reduction_edge_cases() local
139 poly1305(key, data, sizeof(data), actual_mac); in test_poly1305_reduction_edge_cases()
140 KUNIT_ASSERT_MEMEQ(test, actual_mac, expected_mac, in test_poly1305_reduction_edge_cases()
184 u8 actual_mac[POLY1305_DIGEST_SIZE]; in test_poly1305_split_update_carry() local
210 poly1305_final(&ctx, actual_mac); in test_poly1305_split_update_carry()
212 test, actual_mac, expected_mac, in test_poly1305_split_update_carry()
/linux/drivers/md/
H A Ddm-integrity.c529 __u8 actual_mac[HASH_MAX_DIGESTSIZE]; in sb_mac() local
531 r = crypto_shash_digest(desc, sb, mac - sb, actual_mac); in sb_mac()
536 if (crypto_memneq(mac, actual_mac, mac_size)) { in sb_mac()