diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-29 17:12:30 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-30 10:49:20 +0800 |
| commit | 5b39aa368bcfe193666ad4a68ef55f41dfd74028 (patch) | |
| tree | 6d55cf9149ea73605c63713f677c7f241c8d7a17 /scripts/Makefile.compiler | |
| parent | crypto: sun8i-ss - do not use sg_dma_len before calling DMA functions (diff) | |
| download | linux-5b39aa368bcfe193666ad4a68ef55f41dfd74028.tar.gz linux-5b39aa368bcfe193666ad4a68ef55f41dfd74028.zip | |
crypto: s390/sha512 - Fix sha512 state size
The sha512 state size in s390_sha_ctx is out by a factor of 8,
fix it so that it stays below HASH_MAX_DESCSIZE. Also fix the
state init function which was writing garbage to the state. Luckily
this is not actually used for anything other than export.
Reported-by: Harald Freudenberger <freude@linux.ibm.com>
Fixes: 572b5c4682c7 ("crypto: s390/sha512 - Use API partial block handling")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/Makefile.compiler')
0 files changed, 0 insertions, 0 deletions
