Home | History | Annotate | Download | only in crypto

Lines Matching refs:pub_key

484 	publen = BN_num_bytes(dh->pub_key);
493 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen));
528 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL);
529 if (dh->pub_key == NULL)
546 BIGNUM *pub_key;
555 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public),
557 if (pub_key == NULL)
565 keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh);
569 BN_free(pub_key);
574 BN_free(pub_key);