diff options
| author | David C.C.M. Gall <david.ccm.gall@googlemail.com> | 2026-08-15 19:08:21 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-09-04 19:49:33 +1000 |
| commit | aaab22844300556823474f57aa7622e87606afb0 (patch) | |
| tree | 450e5fb3aa72019c3cc3e86c017dd52b84b2b081 /scripts/Makefile.thinlto | |
| parent | 844de214375b213cd20a38198594b9c5321ed2eb (diff) | |
| download | linux-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
