summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDavid C.C.M. Gall <david.ccm.gall@googlemail.com>2026-08-07 17:44:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-08-15 11:28:36 +1000
commit7064af16d2b418d61571dba9bb0116a547ade124 (patch)
treeae77450a86ced4bd3de7d0383fe57b569b2a2f8f /tools/perf/scripts/python/flamegraph.py
parent528bc53c3bfa1c745f0f7510dd56bb63be1dd5d1 (diff)
crypto: sa2ul - use crypto_memneq() to compare AEAD tag
Use crypto_memneq() for a constant-time comparison. sa_aead_dma_in_callback() compares the computed authentication tag against the received tag with memcmp(), which short-circuits on the first differing byte. An attacker who can submit decrypt requests and observe completion latency could recover the expected tag byte by byte. Valid tag forgery for AEAD breaks the INT-CTXT guarantee. 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 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions