Searched refs:privlen (Results 1 – 1 of 1) sorted by relevance
754 size_t publen, privlen; in dh5_init() local783 privlen = BN_num_bytes(dh->priv_key); in dh5_init()784 privkey = wpabuf_alloc(privlen); in dh5_init()789 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init()803 size_t publen, privlen; in dh5_init()833 privlen = BN_num_bytes(priv_key); in dh5_init()834 privkey = wpabuf_alloc(privlen); in dh5_init()839 BN_bn2bin(priv_key, wpabuf_put(privkey, privlen)); in dh5_init()