diff options
| author | Erik Schlyter <erik@erisc.se> | 2025-08-25 17:59:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-25 15:59:42 +0000 |
| commit | 37f4bee92a78fa4543d723b834a1570e2dd38a13 (patch) | |
| tree | 29694e59a8077b441b153d295997a37ddc4b0968 /src/codegen | |
| parent | 9924897c065af526f43c82d4b8328b5e72d100bd (diff) | |
| download | zig-37f4bee92a78fa4543d723b834a1570e2dd38a13.tar.gz zig-37f4bee92a78fa4543d723b834a1570e2dd38a13.zip | |
Fix #24999: copy left-overs before we XOR into c. (#25001)
It is important we copy the left-overs in the message *before* we XOR
it into the ciphertext, because if we're encrypting in-place (i.e., m ==
c), we will manipulate the message that will be used for tag generation.
This will generate faulty tags when message length doesn't conform with
16 byte blocks.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
