Skip to main content

binius_field/arch/portable/
packed_aes_128.rs

1// Copyright 2024-2025 Irreducible Inc.
2// Copyright 2026 The Binius Developers
3
4// Divide into 16 `u8` lanes (the 1×8b AES packing) for all three ops — no packed arithmetic
5// defined in terms of scalar arithmetic.
6pub type AesWideMul16x<T> = crate::arch::Divide<u8, T, 16>;
7pub type AesSquare16x<T> = crate::arch::Divide<u8, T, 16>;
8pub type AesInvert16x<T> = crate::arch::Divide<u8, T, 16>;