Lines Matching refs:pub_key
157 * SEQUENCE {pub_key, priv_key}
201 if (!(dsa->pub_key = BN_new())) {
210 if (!BN_mod_exp(dsa->pub_key, dsa->g,
291 EC_POINT *pub_key;
295 pub_key = EC_POINT_new(group);
296 if (pub_key == NULL)
301 if (!EC_POINT_copy(pub_key, EC_GROUP_get0_generator(group)))
303 EC_POINT_free(pub_key);
308 if (!EC_POINT_mul(group, pub_key, priv_key, NULL, NULL, ctx))
310 EC_POINT_free(pub_key);
314 if (EC_KEY_set_public_key(eckey, pub_key) == 0)
316 EC_POINT_free(pub_key);
320 EC_POINT_free(pub_key);
506 BN_to_ASN1_INTEGER(pkey->pkey.dsa->pub_key, NULL))) {