Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c166 size_t pub_len, i; in eap_eke_dh_init() local
194 pub_len = dh->prime_len; in eap_eke_dh_init()
196 dh->prime, dh->prime_len, ret_pub, &pub_len) < 0) in eap_eke_dh_init()
198 if (pub_len < dh->prime_len) { in eap_eke_dh_init()
199 size_t pad = dh->prime_len - pub_len; in eap_eke_dh_init()
200 os_memmove(ret_pub + pad, ret_pub, pub_len); in eap_eke_dh_init()
/external/boringssl/src/ssl/
Ds3_clnt.c1755 size_t pub_len; in ssl3_send_client_key_exchange() local
1801 pub_len = BN_num_bytes(dh_clnt->pub_key); in ssl3_send_client_key_exchange()
1802 s2n(pub_len, p); in ssl3_send_client_key_exchange()
1804 n += 2 + pub_len; in ssl3_send_client_key_exchange()