From e67cb2c7c9b9802bccb44be2ead04aebf771030d Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 30 Sep 2026 17:16:56 +0200 Subject: [PATCH] Export the state alignment --- lib/std/crypto/aegis/bitsliced.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/std/crypto/aegis/bitsliced.zig b/lib/std/crypto/aegis/bitsliced.zig index 4dd3a66ed514f9ba6305ec2cc71a7437fef3ebbb..b35c2652780e503d25208eb3de80d116cbb8f09b 100644 --- a/lib/std/crypto/aegis/bitsliced.zig +++ b/lib/std/crypto/aegis/bitsliced.zig @@ -183,6 +183,7 @@ pub fn State128X(comptime degree: u7) type { const aes_block_length = V.block_length; pub const rate = aes_block_length * 2; + pub const alignment = @alignOf(Word); const context_mask = V.contextMask(.{ 3, 7 }); @@ -324,6 +325,7 @@ pub fn State256X(comptime degree: u7) type { words: Aes.Bitsliced, pub const rate = V.block_length; + pub const alignment = @alignOf(Word); const context_mask = V.contextMask(.{ 3, 5 }); -- 2.54.0