Lines Matching refs:kt
64 mp_int kt; in ECPoint_mul() local
67 MP_DIGITS(&kt) = 0; in ECPoint_mul()
71 MP_CHECKOK(mp_init(&kt, FLAG(k))); in ECPoint_mul()
72 MP_CHECKOK(mp_mod(k, &group->order, &kt)); in ECPoint_mul()
74 MP_SIGN(&kt) = MP_ZPOS; in ECPoint_mul()
75 MP_USED(&kt) = MP_USED(k); in ECPoint_mul()
76 MP_ALLOC(&kt) = MP_ALLOC(k); in ECPoint_mul()
77 MP_DIGITS(&kt) = MP_DIGITS(k); in ECPoint_mul()
82 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group)); in ECPoint_mul()
85 point_mul(&kt, &group->genx, &group->geny, rx, ry, in ECPoint_mul()
92 MP_CHECKOK(group->point_mul(&kt, rx, ry, rx, ry, group)); in ECPoint_mul()
94 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); in ECPoint_mul()
103 if (MP_DIGITS(&kt) != MP_DIGITS(k)) { in ECPoint_mul()
104 mp_clear(&kt); in ECPoint_mul()