Home
last modified time | relevance | path

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

/freebsd/tools/tools/crypto/
H A Dcryptocheck.c1193 char control_tag[AES_GMAC_HASH_LEN], test_tag[AES_GMAC_HASH_LEN]; in run_gmac_test() local
1197 memset(control_tag, 0x3c, sizeof(control_tag)); in run_gmac_test()
1208 if (!openssl_gmac(alg, cipher, key, iv, buffer, size, control_tag)) in run_gmac_test()
1214 if (memcmp(control_tag, test_tag, sizeof(control_tag)) != 0) { in run_gmac_test()
1217 hexdump(control_tag, sizeof(control_tag), NULL, 0); in run_gmac_test()
1286 char control_tag[EVP_MAX_MD_SIZE], test_tag[EVP_MAX_MD_SIZE]; in run_digest_test() local
1288 memset(control_tag, 0x3c, sizeof(control_tag)); in run_digest_test()
1297 if (!openssl_digest(alg, key, key_len, buffer, size, control_tag, in run_digest_test()
1298 sizeof(control_tag))) in run_digest_test()
1304 if (memcmp(control_tag, test_tag, sizeof(control_tag)) != 0) { in run_digest_test()
[all …]