Lines Matching defs:hash
11 #include <crypto/hash.h>
1414 struct ahash_request *hash,
1425 crypto_ahash_init(hash);
1437 ahash_request_set_crypt(hash, &first_sg, NULL, len);
1438 crypto_ahash_update(hash);
1447 ahash_request_set_crypt(hash, sg, NULL, cur_len);
1448 crypto_ahash_update(hash);
1459 ahash_request_set_crypt(hash, &pad_sg, (u8 *)&data_crc,
1461 crypto_ahash_finup(hash);
1463 ahash_request_set_crypt(hash, NULL, (u8 *)&data_crc, 0);
1464 crypto_ahash_final(hash);
1470 static void iscsit_do_crypto_hash_buf(struct ahash_request *hash,
1481 ahash_request_set_crypt(hash, sg, data_crc, payload_length + padding);
1483 crypto_ahash_digest(hash);