binius_field/arch/portable/
packed_aes_8.rs1use super::packed::{impl_broadcast, PackedPrimitiveType};
4use crate::{
5 arch::{PairwiseStrategy, PairwiseTableStrategy},
6 arithmetic_traits::{
7 impl_invert_with, impl_mul_alpha_with, impl_mul_with, impl_square_with,
8 impl_transformation_with_strategy,
9 },
10 AESTowerField8b,
11};
12
13pub type PackedAESBinaryField1x8b = PackedPrimitiveType<u8, AESTowerField8b>;
15
16impl_broadcast!(u8, AESTowerField8b);
18
19impl_mul_with!(PackedAESBinaryField1x8b @ PairwiseTableStrategy);
21
22impl_square_with!(PackedAESBinaryField1x8b @ PairwiseTableStrategy);
24
25impl_invert_with!(PackedAESBinaryField1x8b @ PairwiseTableStrategy);
27
28impl_mul_alpha_with!(PackedAESBinaryField1x8b @ PairwiseTableStrategy);
30
31impl_transformation_with_strategy!(PackedAESBinaryField1x8b, PairwiseStrategy);