aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorErik Schlyter <erik@erisc.se>2025-08-12 12:40:49 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-08-13 09:00:57 +0200
commit7abd62800cde3f42c0ef65126ed478a0c3d3d549 (patch)
tree6a24bb1a43921e899631f65e7a84850ff9728492 /src/Compilation.zig
parent113d3dd3f0ff38d9ad870fa7b20de6fe601c6cb3 (diff)
downloadzig-7abd62800cde3f42c0ef65126ed478a0c3d3d549.tar.gz
zig-7abd62800cde3f42c0ef65126ed478a0c3d3d549.zip
std.crypto.aegis: Absorb ad instead of encrypting it.
`Aegis256XGeneric` behaves differently than `Aegis128XGeneric` in that it currently encrypts associated data instead of just absorbing it. Even though the end result is the same, there's no point in encrypting and copying the ad into a buffer that gets overwritten anyway. This fix makes `Aegis256XGeneric` behave the same as `Aegis128XGeneric`.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions