diff options
| author | Erik Schlyter <erik@erisc.se> | 2025-08-12 12:40:49 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-08-13 09:00:57 +0200 |
| commit | 7abd62800cde3f42c0ef65126ed478a0c3d3d549 (patch) | |
| tree | 6a24bb1a43921e899631f65e7a84850ff9728492 /src/codegen/c | |
| parent | 113d3dd3f0ff38d9ad870fa7b20de6fe601c6cb3 (diff) | |
| download | zig-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/codegen/c')
0 files changed, 0 insertions, 0 deletions
