| ... | @@ -183,6 +183,7 @@ pub fn State128X(comptime degree: u7) type { | ... | @@ -183,6 +183,7 @@ pub fn State128X(comptime degree: u7) type { |
| 183 | | 183 | |
| 184 | const aes_block_length = V.block_length; | 184 | const aes_block_length = V.block_length; |
| 185 | pub const rate = aes_block_length * 2; | 185 | pub const rate = aes_block_length * 2; |
| | 186 | pub const alignment = @alignOf(Word); |
| 186 | | 187 | |
| 187 | const context_mask = V.contextMask(.{ 3, 7 }); | 188 | const context_mask = V.contextMask(.{ 3, 7 }); |
| 188 | | 189 | |
| ... | @@ -324,6 +325,7 @@ pub fn State256X(comptime degree: u7) type { | ... | @@ -324,6 +325,7 @@ pub fn State256X(comptime degree: u7) type { |
| 324 | words: Aes.Bitsliced, | 325 | words: Aes.Bitsliced, |
| 325 | | 326 | |
| 326 | pub const rate = V.block_length; | 327 | pub const rate = V.block_length; |
| | 328 | pub const alignment = @alignOf(Word); |
| 327 | | 329 | |
| 328 | const context_mask = V.contextMask(.{ 3, 5 }); | 330 | const context_mask = V.contextMask(.{ 3, 5 }); |
| 329 | | 331 | |