Lines Matching defs:hash

20 #include <crypto/hash.h>
150 struct hash_test_suite hash;
216 /* flush type for hash algorithms */
228 /* finalization function for hash algorithms */
1269 /* Test one hash test vector in one configuration, using the shash API */
1453 /* Test one hash test vector in one configuration, using the ahash API */
1688 * Generate a hash test vector from the given implementation.
1730 * Test the hash algorithm represented by @req against the corresponding generic
1776 pr_warn("alg: hash: skipping comparison tests for %s because %s is unavailable\n",
1780 pr_err("alg: hash: error allocating %s (generic impl of %s): %d\n",
1802 pr_err("alg: hash: digestsize for %s (%u) doesn't match generic impl (%u)\n",
1810 pr_err("alg: hash: blocksize for %s (%u) doesn't match generic impl (%u)\n",
1880 pr_err("alg: hash: failed to allocate shash transform for %s: %ld\n",
1919 pr_err("alg: hash: failed to allocate transform for %s: %ld\n",
1927 pr_err("alg: hash: failed to allocate request for %s\n",
1943 pr_err("alg: hash: failed to allocate test buffers for %s\n",
1956 pr_err("alg: hash: failed to allocate hash state buffer for %s\n",
1989 const struct hash_testvec *template = desc->suite.hash.vecs;
1990 unsigned int tcount = desc->suite.hash.count;
2007 pr_err("alg: hash: test vectors for %s out of order, "
4013 * secret key by executing whatever hash it has chosen
4464 .hash = __VECS(blake2b_160_tv_template)
4471 .hash = __VECS(blake2b_256_tv_template)
4478 .hash = __VECS(blake2b_384_tv_template)
4485 .hash = __VECS(blake2b_512_tv_template)
4586 .hash = __VECS(aes_cbcmac_tv_template)
4592 .hash = __VECS(sm4_cbcmac_tv_template)
4645 .hash = __VECS(aes_cmac128_tv_template)
4651 .hash = __VECS(camellia_cmac128_tv_template)
4657 .hash = __VECS(des3_ede_cmac64_tv_template)
4663 .hash = __VECS(sm4_cmac128_tv_template)
4673 .hash = __VECS(crc32_tv_template)
4680 .hash = __VECS(crc32c_tv_template)
4687 .hash = __VECS(crc64_rocksoft_tv_template)
4694 .hash = __VECS(crct10dif_tv_template)
5213 .hash = __VECS(ghash_tv_template)
5227 .hash = __VECS(hmac_md5_tv_template)
5233 .hash = __VECS(hmac_rmd160_tv_template)
5240 .hash = __VECS(hmac_sha1_tv_template)
5247 .hash = __VECS(hmac_sha224_tv_template)
5254 .hash = __VECS(hmac_sha256_tv_template)
5261 .hash = __VECS(hmac_sha3_224_tv_template)
5268 .hash = __VECS(hmac_sha3_256_tv_template)
5275 .hash = __VECS(hmac_sha3_384_tv_template)
5282 .hash = __VECS(hmac_sha3_512_tv_template)
5289 .hash = __VECS(hmac_sha384_tv_template)
5296 .hash = __VECS(hmac_sha512_tv_template)
5302 .hash = __VECS(hmac_sm3_tv_template)
5308 .hash = __VECS(hmac_streebog256_tv_template)
5314 .hash = __VECS(hmac_streebog512_tv_template)
5406 .hash = __VECS(md4_tv_template)
5412 .hash = __VECS(md5_tv_template)
5418 .hash = __VECS(michael_mic_tv_template)
5424 .hash = __VECS(nhpoly1305_tv_template)
5475 .hash = __VECS(poly1305_tv_template)
5481 .hash = __VECS(polyval_tv_template)
5551 .hash = __VECS(rmd160_tv_template)
5565 .hash = __VECS(sha1_tv_template)
5572 .hash = __VECS(sha224_tv_template)
5579 .hash = __VECS(sha256_tv_template)
5586 .hash = __VECS(sha3_224_tv_template)
5593 .hash = __VECS(sha3_256_tv_template)
5600 .hash = __VECS(sha3_384_tv_template)
5607 .hash = __VECS(sha3_512_tv_template)
5614 .hash = __VECS(sha384_tv_template)
5621 .hash = __VECS(sha512_tv_template)
5633 .hash = __VECS(sm3_tv_template)
5639 .hash = __VECS(streebog256_tv_template)
5645 .hash = __VECS(streebog512_tv_template)
5651 .hash = __VECS(vmac64_aes_tv_template)
5657 .hash = __VECS(wp256_tv_template)
5663 .hash = __VECS(wp384_tv_template)
5669 .hash = __VECS(wp512_tv_template)
5675 .hash = __VECS(aes_xcbc128_tv_template)
5681 .hash = __VECS(sm4_xcbc128_tv_template)
5773 .hash = __VECS(xxhash64_tv_template)