summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDavid C.C.M. Gall <david.ccm.gall@googlemail.com>2026-08-15 19:08:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-09-04 19:49:33 +1000
commitaaab22844300556823474f57aa7622e87606afb0 (patch)
tree450e5fb3aa72019c3cc3e86c017dd52b84b2b081 /scripts/Makefile.thinlto
parent844de214375b213cd20a38198594b9c5321ed2eb (diff)
downloadlinux-next-aaab22844300556823474f57aa7622e87606afb0.tar.gz
linux-next-aaab22844300556823474f57aa7622e87606afb0.zip
crypto: octeontx2 - use crypto_memneq() to check HMAC for cipher_null authenc
validate_hmac_cipher_null() compares the computed and received HMAC with memcmp(), which short-circuits on the first differing byte and leaks tag-match length via timing. Use crypto_memneq() instead. Because for cipher_null the validated payload is un-encrypted, this valid prefix leak allows for authenticated message forgery. Assisted-by: gregkh_clanker_t1000 Signed-off-by: David C.C.M. Gall <david.ccm.gall@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions