Searched refs:pub_len (Results 1 – 2 of 2) sorted by relevance
166 size_t pub_len, i; in eap_eke_dh_init() local194 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()
1755 size_t pub_len; in ssl3_send_client_key_exchange() local1801 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()