Lines Matching defs:pub_key
380 BIGNUM *pub_key = NULL;
396 if (!read_lebn(&p, nbyte, &pub_key))
406 pub_key = BN_new();
407 if (pub_key == NULL)
412 if (!BN_mod_exp(pub_key, gbn, priv_key, pbn, ctx))
421 if (!DSA_set0_key(dsa, pub_key, priv_key))
423 pub_key = priv_key = NULL;
434 BN_free(pub_key);
691 const BIGNUM *pub_key = NULL, *priv_key = NULL;
694 DSA_get0_key(dsa, &pub_key, &priv_key);
700 if (BN_num_bits(pub_key) > bitlen)
719 const BIGNUM *pub_key = NULL, *priv_key = NULL;
722 DSA_get0_key(dsa, &pub_key, &priv_key);
728 write_lebn(out, pub_key, nbyte);