Searched refs:publen (Results 1 – 2 of 2) sorted by relevance
607 size_t publen, privlen; in dh5_init() local627 publen = BN_num_bytes(dh->pub_key); in dh5_init()628 pubkey = wpabuf_alloc(publen); in dh5_init()636 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
2456 eay_dh_generate(prime, g, publen, pub, priv) in eay_dh_generate() argument2458 u_int publen;2480 if (publen != 0) {2482 dh->priv_length = publen;2484 dh->length = publen;