Lines Matching defs:k2
83 * Computes scalar point multiplication pointQ = k1 * G + k2 * pointP for
87 ec_points_mul(const ECParams *params, const mp_int *k1, const mp_int *k2,
116 if (k2 != NULL) {
117 mp_tohex(k2, mpstr);
118 printf("ec_points_mul: scalar k2: %s\n", mpstr);
119 mp_todecimal(k2, mpstr);
120 printf("ec_points_mul: scalar k2: %s (dec)\n", mpstr);
161 if ((k2 != NULL) && (pointP != NULL)) {
189 irr_arr[2] = params->fieldID.k2;
199 if ((k2 != NULL) && (pointP != NULL)) {
200 CHECK_MPI_OK( ECPoints_mul(group, k1, k2, &Px, &Py, &Qx, &Qy) );
296 key->ecParams.fieldID.k2 = ecParams->fieldID.k2;
1089 dstParams->fieldID.k2 = srcParams->fieldID.k2;