crypto: algif_hash - Allocate hash state with kmalloc
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Mar 2023 03:54:24 +0000 (11:54 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Apr 2023 08:18:53 +0000 (16:18 +0800)
commitacc03d8908fdd8f24d5c0510a7c1767e176da4bc
treeb5b9dbf733ba2431f46e939a9c66666e23498437
parent686cd976b6ddedeeb1a1fb09ba53a891d3cc9a03
crypto: algif_hash - Allocate hash state with kmalloc

Allocating the hash state on the stack limits its size.  Change
this to use kmalloc so the limit can be removed for new drivers.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_hash.c