mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-04 23:03:08 +00:00
name
This commit is contained in:
parent
2a2880b7ea
commit
ea8cfc95b0
@ -133,7 +133,12 @@ fn test_power() -> Result<()> {
|
||||
let stack = make_stack(vec![
|
||||
vec![ptr],
|
||||
fp12_to_vec(f),
|
||||
vec![ptr, out, get_address_from_label("return_fp12_on_stack"), out],
|
||||
vec![
|
||||
ptr,
|
||||
out,
|
||||
get_address_from_label("return_fp12_on_stack"),
|
||||
out,
|
||||
],
|
||||
]);
|
||||
|
||||
let output: Vec<U256> = get_output("test_pow", stack);
|
||||
@ -155,7 +160,12 @@ fn make_tate_stack(p: Curve, q: TwistedCurve) -> Vec<U256> {
|
||||
vec![ptr],
|
||||
p_,
|
||||
q_,
|
||||
vec![ptr, out, get_address_from_label("return_fp12_on_stack"), out],
|
||||
vec![
|
||||
ptr,
|
||||
out,
|
||||
get_address_from_label("return_fp12_on_stack"),
|
||||
out,
|
||||
],
|
||||
])
|
||||
}
|
||||
|
||||
|
||||
@ -72,7 +72,7 @@ impl<F: Field> GenerationState<F> {
|
||||
"ext_9" => 9,
|
||||
"ext_10" => 10,
|
||||
"ext_11" => 11,
|
||||
_ => panic!("out of bounds")
|
||||
_ => panic!("out of bounds"),
|
||||
};
|
||||
field.inverse_fp12(n, xs)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user