Lines Matching refs:pub_key
119 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2,
129 static int cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key,
1232 BIGNUM *u1, BIGNUM *pub_key, BIGNUM *u2, BIGNUM *p,
1248 if (!dsa->meth->bn_mod_exp(dsa, &t2, dsa->pub_key, u2, dsa->p, ctx, mont))
1322 /* inputs: dgst dsa->p dsa->q dsa->g dsa->pub_key sig->r sig->s */
1331 if (bn2crparam(dsa->pub_key, &kop.crk_param[4]))
1378 cryptodev_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
1387 return ((meth->compute_key) (key, pub_key, dh));
1395 /* inputs: dh->priv_key pub_key dh->p key */
1398 if (bn2crparam(pub_key, &kop.crk_param[1]))
1411 dhret = (meth->compute_key) (key, pub_key, dh);