Lines Matching defs:u1
319 BIGNUM u1, u2, t1;
338 BN_init(&u1);
362 /* save M in u1 */
370 if (BN_bin2bn(dgst, dgst_len, &u1) == NULL)
373 /* u1 = M * w mod q */
374 if (!BN_mod_mul(&u1, &u1, &u2, dsa->q, ctx))
388 DSA_MOD_EXP(goto err, dsa, &t1, dsa->g, &u1, dsa->pub_key, &u2, dsa->p,
390 /* BN_copy(&u1,&t1); */
391 /* let u1 = u1 mod q */
392 if (!BN_mod(&u1, &t1, dsa->q, ctx))
396 * V is now in u1. If the signature is correct, it will be equal to R.
398 ret = (BN_ucmp(&u1, sig->r) == 0);
405 BN_free(&u1);