crypto: skcipher - Zap type in crypto_alloc_sync_skcipher
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 15 Feb 2025 00:57:51 +0000 (08:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2025 07:56:03 +0000 (15:56 +0800)
commitee509efc74ddbc59bb5d6fd6e050f9ef25f74bff
treede05489658090b356f4c4c7d4bd0b06e661f5294
parent5ab6c06dff298ecf2afb64975dc66761c261d944
crypto: skcipher - Zap type in crypto_alloc_sync_skcipher

The type needs to be zeroed as otherwise the user could use it to
allocate an asynchronous sync skcipher.

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