Lines Matching refs:pub_key
118 BN_clear_free(dsa->pub_key); in DSA_free()
136 *out_pub_key = dsa->pub_key; in DSA_get0_key()
436 BIGNUM *pub_key = NULL, *priv_key = NULL; in DSA_generate_key() local
455 pub_key = dsa->pub_key; in DSA_generate_key()
456 if (pub_key == NULL) { in DSA_generate_key()
457 pub_key = BN_new(); in DSA_generate_key()
458 if (pub_key == NULL) { in DSA_generate_key()
465 !BN_mod_exp_mont_consttime(pub_key, dsa->g, priv_key, dsa->p, ctx, in DSA_generate_key()
471 dsa->pub_key = pub_key; in DSA_generate_key()
475 if (dsa->pub_key == NULL) { in DSA_generate_key()
476 BN_free(pub_key); in DSA_generate_key()
692 if (!BN_mod_exp2_mont(&t1, dsa->g, &u1, dsa->pub_key, &u2, dsa->p, ctx, in DSA_do_check_signature()
946 (r->pub_key != NULL && (ret->pub_key = BN_dup(r->pub_key)) == NULL) || in DSA_dup_DH()