Searched refs:publen (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 632 size_t publen, privlen; in dh5_init() local 653 publen = BN_num_bytes(dh->pub_key); in dh5_init() 654 pubkey = wpabuf_alloc(publen); in dh5_init() 662 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 677 size_t publen, privlen; in dh5_init() 701 publen = BN_num_bytes(pub_key); in dh5_init() 702 pubkey = wpabuf_alloc(publen); in dh5_init() 710 BN_bn2bin(pub_key, wpabuf_put(pubkey, publen)); in dh5_init()
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 2456 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;
|