Lines Matching refs:dh1
106 DH *dh1, *dh2;
108 dh1 = key1->keydata.dh;
111 if (dh1 == NULL && dh2 == NULL)
113 else if (dh1 == NULL || dh2 == NULL)
116 status = BN_cmp(dh1->p, dh2->p) ||
117 BN_cmp(dh1->g, dh2->g) ||
118 BN_cmp(dh1->pub_key, dh2->pub_key);
123 if (dh1->priv_key != NULL || dh2->priv_key != NULL) {
124 if (dh1->priv_key == NULL || dh2->priv_key == NULL)
126 if (BN_cmp(dh1->priv_key, dh2->priv_key) != 0)
135 DH *dh1, *dh2;
137 dh1 = key1->keydata.dh;
140 if (dh1 == NULL && dh2 == NULL)
142 else if (dh1 == NULL || dh2 == NULL)
145 status = BN_cmp(dh1->p, dh2->p) ||
146 BN_cmp(dh1->g, dh2->g);