Lines Matching refs:hash

20 #include <crypto/hash.h>
150 struct hash_test_suite hash;
216 /* flush type for hash algorithms */
228 /* finalization function for hash algorithms */
1267 /* Test one hash test vector in one configuration, using the shash API */
1450 /* Test one hash test vector in one configuration, using the ahash API */
1684 * Generate a hash test vector from the given implementation.
1726 * Test the hash algorithm represented by @req against the corresponding generic
1772 pr_warn("alg: hash: skipping comparison tests for %s because %s is unavailable\n",
1776 pr_err("alg: hash: error allocating %s (generic impl of %s): %d\n",
1798 pr_err("alg: hash: digestsize for %s (%u) doesn't match generic impl (%u)\n",
1806 pr_err("alg: hash: blocksize for %s (%u) doesn't match generic impl (%u)\n",
1876 pr_err("alg: hash: failed to allocate shash transform for %s: %ld\n",
1915 pr_err("alg: hash: failed to allocate transform for %s: %ld\n",
1923 pr_err("alg: hash: failed to allocate request for %s\n",
1939 pr_err("alg: hash: failed to allocate test buffers for %s\n",
1952 pr_err("alg: hash: failed to allocate hash state buffer for %s\n",
1985 const struct hash_testvec *template = desc->suite.hash.vecs;
1986 unsigned int tcount = desc->suite.hash.count;
2003 pr_err("alg: hash: test vectors for %s out of order, "
4009 * secret key by executing whatever hash it has chosen
4460 .hash = __VECS(blake2b_160_tv_template)
4467 .hash = __VECS(blake2b_256_tv_template)
4474 .hash = __VECS(blake2b_384_tv_template)
4481 .hash = __VECS(blake2b_512_tv_template)
4582 .hash = __VECS(aes_cbcmac_tv_template)
4588 .hash = __VECS(sm4_cbcmac_tv_template)
4622 .hash = __VECS(aes_cmac128_tv_template)
4628 .hash = __VECS(camellia_cmac128_tv_template)
4634 .hash = __VECS(des3_ede_cmac64_tv_template)
4640 .hash = __VECS(sm4_cmac128_tv_template)
4650 .hash = __VECS(crc32_tv_template)
4657 .hash = __VECS(crc32c_tv_template)
4664 .hash = __VECS(crc64_rocksoft_tv_template)
4671 .hash = __VECS(crct10dif_tv_template)
5190 .hash = __VECS(ghash_tv_template)
5204 .hash = __VECS(hmac_md5_tv_template)
5210 .hash = __VECS(hmac_rmd160_tv_template)
5217 .hash = __VECS(hmac_sha1_tv_template)
5224 .hash = __VECS(hmac_sha224_tv_template)
5231 .hash = __VECS(hmac_sha256_tv_template)
5238 .hash = __VECS(hmac_sha3_224_tv_template)
5245 .hash = __VECS(hmac_sha3_256_tv_template)
5252 .hash = __VECS(hmac_sha3_384_tv_template)
5259 .hash = __VECS(hmac_sha3_512_tv_template)
5266 .hash = __VECS(hmac_sha384_tv_template)
5273 .hash = __VECS(hmac_sha512_tv_template)
5279 .hash = __VECS(hmac_sm3_tv_template)
5285 .hash = __VECS(hmac_streebog256_tv_template)
5291 .hash = __VECS(hmac_streebog512_tv_template)
5383 .hash = __VECS(md4_tv_template)
5389 .hash = __VECS(md5_tv_template)
5395 .hash = __VECS(michael_mic_tv_template)
5401 .hash = __VECS(nhpoly1305_tv_template)
5444 .hash = __VECS(poly1305_tv_template)
5450 .hash = __VECS(polyval_tv_template)
5520 .hash = __VECS(rmd160_tv_template)
5534 .hash = __VECS(sha1_tv_template)
5541 .hash = __VECS(sha224_tv_template)
5548 .hash = __VECS(sha256_tv_template)
5555 .hash = __VECS(sha3_224_tv_template)
5562 .hash = __VECS(sha3_256_tv_template)
5569 .hash = __VECS(sha3_384_tv_template)
5576 .hash = __VECS(sha3_512_tv_template)
5583 .hash = __VECS(sha384_tv_template)
5590 .hash = __VECS(sha512_tv_template)
5602 .hash = __VECS(sm3_tv_template)
5608 .hash = __VECS(streebog256_tv_template)
5614 .hash = __VECS(streebog512_tv_template)
5620 .hash = __VECS(vmac64_aes_tv_template)
5626 .hash = __VECS(wp256_tv_template)
5632 .hash = __VECS(wp384_tv_template)
5638 .hash = __VECS(wp512_tv_template)
5644 .hash = __VECS(aes_xcbc128_tv_template)
5650 .hash = __VECS(sm4_xcbc128_tv_template)
5734 .hash = __VECS(xxhash64_tv_template)