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