Lines Matching refs:pub_key
167 BN_print(out, a->pub_key);
175 BN_print(out, b->pub_key);
180 aout = DH_compute_key(abuf, b->pub_key, a);
191 bout = DH_compute_key(bbuf, a->pub_key, b);
547 dhA->pub_key = BN_bin2bn(td->yA, td->yA_len, NULL);
550 dhB->pub_key = BN_bin2bn(td->yB, td->yB_len, NULL);
552 if (!dhA->priv_key || !dhA->pub_key
553 || !dhB->priv_key || !dhB->pub_key)
566 if (DH_compute_key(Z1, dhB->pub_key, dhA) == -1)
568 if (DH_compute_key(Z2, dhA->pub_key, dhB) == -1)