Searched refs:privlen (Results 1 – 1 of 1) sorted by relevance
632 size_t publen, privlen; in dh5_init() local657 privlen = BN_num_bytes(dh->priv_key); in dh5_init()658 privkey = wpabuf_alloc(privlen); in dh5_init()663 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init()677 size_t publen, privlen; in dh5_init()705 privlen = BN_num_bytes(priv_key); in dh5_init()706 privkey = wpabuf_alloc(privlen); in dh5_init()711 BN_bn2bin(priv_key, wpabuf_put(privkey, privlen)); in dh5_init()