Lines Matching refs:pubkey
388 BIGNUM *pubkey = NULL;
392 if ((pubkey = BN_bin2bn(buf, len, NULL)) == NULL)
400 if (!ossl_dh_check_pub_key_partial(dh, pubkey, &ret)) {
404 if (DH_set0_key(dh, pubkey, NULL) != 1)
409 BN_free(pubkey);
416 const BIGNUM *pubkey;
422 DH_get0_key(dh, &pubkey, NULL);
423 if (p == NULL || pubkey == NULL
425 || BN_num_bytes(pubkey) == 0) {
445 if (BN_bn2binpad(pubkey, pbuf, p_size) < 0) {