• Home
  • Raw
  • Download

Lines Matching refs:q

34 static void p_256_init_point(Point* q) { memset(q, 0, sizeof(Point)); }  in p_256_init_point()  argument
36 static void p_256_copy_point(Point* q, Point* p) { in p_256_copy_point() argument
37 memcpy(q, p, sizeof(Point)); in p_256_copy_point()
41 static void ECC_Double(Point* q, Point* p) { in ECC_Double() argument
53 multiprecision_init(q->z); in ECC_Double()
60 x3 = q->x; in ECC_Double()
61 y3 = q->y; in ECC_Double()
62 z3 = q->z; in ECC_Double()
90 static void ECC_Add(Point* r, Point* p, Point* q) { in ECC_Add() argument
106 x2 = q->x; in ECC_Add()
107 y2 = q->y; in ECC_Add()
108 z2 = q->z; in ECC_Add()
121 p_256_copy_point(r, q); in ECC_Add()
135 ECC_Double(r, q); in ECC_Add()
194 void ECC_PointMult_Bin_NAF(Point* q, Point* p, uint32_t* n) { in ECC_PointMult_Bin_NAF() argument
209 p_256_init_point(q); in ECC_PointMult_Bin_NAF()
223 p_256_copy_point(&r, q); in ECC_PointMult_Bin_NAF()
224 ECC_Double(q, &r); in ECC_PointMult_Bin_NAF()
228 p_256_copy_point(&r, q); in ECC_PointMult_Bin_NAF()
229 ECC_Add(q, &r, p); in ECC_PointMult_Bin_NAF()
231 p_256_copy_point(&r, q); in ECC_PointMult_Bin_NAF()
232 ECC_Add(q, &r, &minus_p); in ECC_PointMult_Bin_NAF()
236 multiprecision_inv_mod(minus_p.x, q->z); in ECC_PointMult_Bin_NAF()
237 multiprecision_mersenns_squa_mod(q->z, minus_p.x); in ECC_PointMult_Bin_NAF()
238 multiprecision_mersenns_mult_mod(q->x, q->x, q->z); in ECC_PointMult_Bin_NAF()
239 multiprecision_mersenns_mult_mod(q->z, q->z, minus_p.x); in ECC_PointMult_Bin_NAF()
240 multiprecision_mersenns_mult_mod(q->y, q->y, q->z); in ECC_PointMult_Bin_NAF()