This commit is contained in:
Dmitry Vagner 2022-10-18 11:09:07 -04:00
parent 625544565d
commit dde24e6b30

View File

@ -123,10 +123,7 @@ fn gen_fp6() -> [[u32; 2]; 3] {
}
fn as_stack(xs: Vec<u32>) -> Vec<U256> {
xs.iter()
.map(|&x| U256::from(x) % P254)
.rev()
.collect()
xs.iter().map(|&x| U256::from(x) % P254).rev().collect()
}
#[test]