]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: eip93 - Make read-only arrays static const
authorColin Ian King <colin.i.king@gmail.com>
Wed, 2 Apr 2025 11:13:47 +0000 (12:13 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 7 Apr 2025 05:22:27 +0000 (13:22 +0800)
commit83366bcc7cb9bb6570363bef7cf05948cb00fe4e
treeab3495b5420c7f99dbd118423e9db1ebf15adb1a
parentbda5cd6e29e82ff0071f801aed75d2480d74703f
crypto: eip93 - Make read-only arrays static const

Don't populate the read-only arrays sha256_init, sha224_init, sha1_init
and md5_init on the stack at run time, instead make them static.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/eip93/eip93-hash.c