Lines Matching refs:nhash
448 struct crypto_ahash *crypto_clone_shash_ops_async(struct crypto_ahash *nhash,
451 struct crypto_shash **nctx = crypto_ahash_ctx(nhash);
457 crypto_free_ahash(nhash);
463 return nhash;
589 struct crypto_shash *nhash;
603 nhash = crypto_clone_tfm(&crypto_shash_type, tfm);
604 if (IS_ERR(nhash))
605 return nhash;
607 nhash->descsize = hash->descsize;
610 err = alg->clone_tfm(nhash, hash);
612 crypto_free_shash(nhash);
617 return nhash;