Home
last modified time | relevance | path

Searched refs:u2 (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/dsa/
H A Ddsa_ossl.c359 BIGNUM *u1, *u2, *t1; in dsa_do_verify() local
383 u2 = BN_new(); in dsa_do_verify()
386 if (u1 == NULL || u2 == NULL || t1 == NULL || ctx == NULL) in dsa_do_verify()
405 if ((BN_mod_inverse(u2, s, dsa->params.q, ctx)) == NULL) in dsa_do_verify()
420 if (!BN_mod_mul(u1, u1, u2, dsa->params.q, ctx)) in dsa_do_verify()
424 if (!BN_mod_mul(u2, r, u2, dsa->params.q, ctx)) in dsa_do_verify()
435 if (!dsa->meth->dsa_mod_exp(dsa, t1, dsa->params.g, u1, dsa->pub_key, u2, in dsa_do_verify()
439 if (!BN_mod_exp2_mont(t1, dsa->params.g, u1, dsa->pub_key, u2, in dsa_do_verify()
458 BN_free(u2); in dsa_do_verify()
/openssl/crypto/ec/
H A Decdsa_ossl.c450 BIGNUM *u1, *u2, *m, *X; in ossl_ecdsa_simple_verify_sig() local
474 u2 = BN_CTX_get(ctx); in ossl_ecdsa_simple_verify_sig()
496 if (!ossl_ec_group_do_inverse_ord(group, u2, sig->s, ctx)) { in ossl_ecdsa_simple_verify_sig()
517 if (!BN_mod_mul(u1, m, u2, order, ctx)) { in ossl_ecdsa_simple_verify_sig()
522 if (!BN_mod_mul(u2, sig->r, u2, order, ctx)) { in ossl_ecdsa_simple_verify_sig()
531 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx)) { in ossl_ecdsa_simple_verify_sig()

Completed in 5 milliseconds