| author | |
| committer | |
| log | f46e375bbe0ac0893717bd477eab78f51863e277 |
| tree | dfb564e96fdfa846bd514311731302fda8a38870 |
| parent | 8d8d568854d33be7bcc2bc9874029d1082914af7 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/crypto/gimli.zig+1-1| ... | ... | @@ -269,7 +269,7 @@ pub const Aead = struct { |
| 269 | 269 | /// npub: public nonce |
| 270 | 270 | /// k: private key |
| 271 | 271 | /// NOTE: the check of the authentication tag is currently not done in constant time |
| 272 | pub fn decrypt(m: []u8, c: []const u8, at: [State.RATE]u8, ad: []u8, npub: [16]u8, k: [32]u8) !void { | |
| 272 | pub fn decrypt(m: []u8, c: []const u8, at: [State.RATE]u8, ad: []const u8, npub: [16]u8, k: [32]u8) !void { | |
| 273 | 273 | assert(c.len == m.len); |
| 274 | 274 | |
| 275 | 275 | var state = Aead.init(ad, npub, k); |