Home | History | Annotate | Download | only in dsa

Lines Matching defs:u1

306 	BIGNUM u1,u2,t1;
337 BN_init(&u1);
360 /* save M in u1 */
366 if (BN_bin2bn(dgst,dgst_len,&u1) == NULL) goto err;
368 /* u1 = M * w mod q */
369 if (!BN_mod_mul(&u1,&u1,&u2,dsa->q,ctx)) goto err;
384 DSA_MOD_EXP(goto err, dsa, &t1, dsa->g, &u1, dsa->pub_key, &u2, dsa->p, ctx, mont);
385 /* BN_copy(&u1,&t1); */
386 /* let u1 = u1 mod q */
387 if (!BN_mod(&u1,&t1,dsa->q,ctx)) goto err;
389 /* V is now in u1. If the signature is correct, it will be
391 ret=(BN_ucmp(&u1, sig->r) == 0);
398 BN_free(&u1);