Lines Matching refs:shash
2041 ctx->shash = kmalloc(sizeof(*ctx->shash) + in ahash_init()
2043 if (!ctx->shash) { in ahash_init()
2047 ctx->shash->tfm = hash; in ahash_init()
2058 ret = crypto_shash_init(ctx->shash); in ahash_init()
2069 kfree(ctx->shash); in ahash_init()
2124 ret = crypto_shash_update(ctx->shash, tmpbuf, req->nbytes); in ahash_update()
2157 ret = crypto_shash_final(ctx->shash, req->result); in ahash_final()
2160 crypto_free_shash(ctx->shash->tfm); in ahash_final()
2161 kfree(ctx->shash); in ahash_final()
2222 ret = crypto_shash_finup(ctx->shash, tmpbuf, req->nbytes, in ahash_finup()
2233 crypto_free_shash(ctx->shash->tfm); in ahash_finup()
2234 kfree(ctx->shash); in ahash_finup()