Lines Matching defs:u1
297 BIGNUM u1,u2,t1;
319 BN_init(&u1);
342 /* save M in u1 */
348 if (BN_bin2bn(dgst,dgst_len,&u1) == NULL) goto err;
350 /* u1 = M * w mod q */
351 if (!BN_mod_mul(&u1,&u1,&u2,dsa->q,ctx)) goto err;
366 DSA_MOD_EXP(goto err, dsa, &t1, dsa->g, &u1, dsa->pub_key, &u2, dsa->p, ctx, mont);
367 /* BN_copy(&u1,&t1); */
368 /* let u1 = u1 mod q */
369 if (!BN_mod(&u1,&t1,dsa->q,ctx)) goto err;
371 /* V is now in u1. If the signature is correct, it will be
373 ret=(BN_ucmp(&u1, sig->r) == 0);
380 BN_free(&u1);