Home
last modified time | relevance | path

Searched refs:publen (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c754 size_t publen, privlen; in dh5_init() local
779 publen = BN_num_bytes(dh->pub_key); in dh5_init()
780 pubkey = wpabuf_alloc(publen); in dh5_init()
788 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
803 size_t publen, privlen; in dh5_init()
829 publen = BN_num_bytes(pub_key); in dh5_init()
830 pubkey = wpabuf_alloc(publen); in dh5_init()
838 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2456 eay_dh_generate(prime, g, publen, pub, priv) in eay_dh_generate() argument
2458 u_int publen;
2480 if (publen != 0) {
2482 dh->priv_length = publen;
2484 dh->length = publen;