const b = ge_frombytes_negate_vartime(A, pub, t_u8x32, t_fe_0, t_fe_1, t_fe_2)
clear_t()
if (b != 0) return null
- ge_p3_cache_odd_multiples(Ai, A, t_ge_p1p1, t_fe_0)
+ ge_p3_cache_odd_multiples(Ai, A, t_fe_0)
return Ai
}
blake2b.init().update(sig, 32).update(pub, 32).update(M, mlen).digest(h)
sc_reduce(h)
- ge_p3_cache_odd_multiples(Ai, A, t_ge_p1p1, t_fe_0)
+ ge_p3_cache_odd_multiples(Ai, A, t_fe_0)
ge_double_scalarmult_vartime_to_p3(sb_ah, h, Ai, S)
ge_p3_sub_p3(check, expected_r, sb_ah, t_ge_p3, t_fe_0)
blake2b.init().update(sig, 32).update(pub, 32).update(M, mlen).digest(h)
sc_reduce(h)
- ge_p3_cache_odd_multiples(Ai, A, t_ge_p1p1, t_fe_0)
+ ge_p3_cache_odd_multiples(Ai, A, t_fe_0)
ge_double_scalarmult_vartime_to_p3(sb_ah, h, Ai, S)
ge_p3_tobytes(check_r, sb_ah, t_fe_0, t_fe_1, t_fe_2, t_fe_3, t_fe_4, t_fe_5, t_fe_6)
clear_t()
* Computes a lookup table for multiples of the odd limbs of an extended
* projective point so it can be cached and reused for performance.
*/
-export function ge_p3_cache_odd_multiples (Ai: StaticArray<ge_cached>, A: ge_p3, t_p1p1: ge_p1p1, t_fe: FieldElement): void {
+export function ge_p3_cache_odd_multiples (Ai: StaticArray<ge_cached>, A: ge_p3, t_fe: FieldElement): void {
const A2 = ge_p3_cache_odd_multiples_A2
ge_p3_to_cached(Ai[0], A)