Lines Matching refs:kt
62 mp_int kt; in ECPoint_mul() local
65 MP_DIGITS(&kt) = 0; in ECPoint_mul()
69 MP_CHECKOK(mp_init(&kt, FLAG(k))); in ECPoint_mul()
70 MP_CHECKOK(mp_mod(k, &group->order, &kt)); in ECPoint_mul()
72 MP_SIGN(&kt) = MP_ZPOS; in ECPoint_mul()
73 MP_USED(&kt) = MP_USED(k); in ECPoint_mul()
74 MP_ALLOC(&kt) = MP_ALLOC(k); in ECPoint_mul()
75 MP_DIGITS(&kt) = MP_DIGITS(k); in ECPoint_mul()
80 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group)); in ECPoint_mul()
83 point_mul(&kt, &group->genx, &group->geny, rx, ry, in ECPoint_mul()
90 MP_CHECKOK(group->point_mul(&kt, rx, ry, rx, ry, group)); in ECPoint_mul()
92 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); in ECPoint_mul()
101 if (MP_DIGITS(&kt) != MP_DIGITS(k)) { in ECPoint_mul()
102 mp_clear(&kt); in ECPoint_mul()