Lines Matching refs:shash
2035 ctx->shash = kmalloc(sizeof(*ctx->shash) + in ahash_init()
2037 if (!ctx->shash) { in ahash_init()
2041 ctx->shash->tfm = hash; in ahash_init()
2052 ret = crypto_shash_init(ctx->shash); in ahash_init()
2063 kfree(ctx->shash); in ahash_init()
2118 ret = crypto_shash_update(ctx->shash, tmpbuf, req->nbytes); in ahash_update()
2151 ret = crypto_shash_final(ctx->shash, req->result); in ahash_final()
2154 crypto_free_shash(ctx->shash->tfm); in ahash_final()
2155 kfree(ctx->shash); in ahash_final()
2216 ret = crypto_shash_finup(ctx->shash, tmpbuf, req->nbytes, in ahash_finup()
2227 crypto_free_shash(ctx->shash->tfm); in ahash_finup()
2228 kfree(ctx->shash); in ahash_finup()