| 25 | // Note: This doesn't consider every limb permutation |
| 26 | #[derive(Debug)] |
| 27 | pub struct BigIntConfig<const TRANSFORM_LIST_SIZE: usize = 500> { |
| 28 | pub value: Vec<u32>, |
| 29 | pub bigint_type: BigIntType, |
| 30 | pub transform_list: [u32; TRANSFORM_LIST_SIZE], |
| 31 | } |
| 32 | |
| 33 | impl BigIntType { |
| 34 | pub fn from_index(idx: u32) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected