diff options
| author | David C.C.M. Gall <david.ccm.gall@googlemail.com> | 2026-08-15 19:09:14 +0200 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-09-04 19:49:33 +1000 |
| commit | caad4d7cbca42f075be867490cfad8d204f40710 (patch) | |
| tree | 1d3b7323bcdf26a780902b8744869a5e4160d708 /scripts/Makefile.thinlto | |
| parent | aaab22844300556823474f57aa7622e87606afb0 (diff) | |
| download | linux-next-caad4d7cbca42f075be867490cfad8d204f40710.tar.gz linux-next-caad4d7cbca42f075be867490cfad8d204f40710.zip | |
crypto: octeontx - use crypto_memneq() to check HMAC
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
