Lines Matching refs:hash
38 struct crypto_ahash *hash; member
356 struct crypto_ahash *hash; in hash_bind() local
362 hash = crypto_alloc_ahash(name, type, mask); in hash_bind()
363 if (IS_ERR(hash)) { in hash_bind()
365 return ERR_CAST(hash); in hash_bind()
368 tfm->hash = hash; in hash_bind()
377 crypto_free_ahash(tfm->hash); in hash_release()
386 err = crypto_ahash_setkey(tfm->hash, key, keylen); in hash_setkey()
408 struct crypto_ahash *hash = tfm->hash; in hash_accept_parent_nokey() local
409 unsigned len = sizeof(*ctx) + crypto_ahash_reqsize(hash); in hash_accept_parent_nokey()
410 unsigned ds = crypto_ahash_digestsize(hash); in hash_accept_parent_nokey()
430 ahash_request_set_tfm(&ctx->req, hash); in hash_accept_parent_nokey()
443 if (!tfm->has_key && crypto_ahash_has_setkey(tfm->hash)) in hash_accept_parent()