]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: crypto4xx - Fix gcc12 uninitialized warning in crypto4xx_crypt
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 19 Mar 2025 09:26:43 +0000 (17:26 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 7 Apr 2025 05:22:25 +0000 (13:22 +0800)
commit7b294e3eab5d537af5065dc50c25b0b57d59acce
tree58d7278efe19a974551887a890cf160987afafd0
parent08cabc7d3c8638b078e0ac2f755cead1defafe91
crypto: crypto4xx - Fix gcc12 uninitialized warning in crypto4xx_crypt

The compiler gcc 12 warns about the IV buffer being uninitialized
in crypto4xx_crypt.  Silence the warning by using the new gcc 12
access attribute to mark crypto4xx_build_pd.

Also fix the IV buffer length as it has been quadrupled (64 instead
of 16).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amcc/crypto4xx_alg.c
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/amcc/crypto4xx_core.h