Searched refs:dh_g_len (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_cred.h21 size_t dh_g_len; member in struct:tlsv1_credentials
H A Dtlsv1_client_i.h56 size_t dh_g_len; member in struct:tlsv1_client
H A Dtlsv1_client_read.c441 conn->dh_g_len = WPA_GET_BE16(pos);
443 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len)
445 conn->dh_g = os_malloc(conn->dh_g_len);
448 os_memcpy(conn->dh_g, pos, conn->dh_g_len);
449 pos += conn->dh_g_len;
451 conn->dh_g, conn->dh_g_len);
452 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2)
H A Dtlsv1_server_write.c323 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len,
387 if (pos + 2 + conn->cred->dh_g_len > end) {
395 WPA_PUT_BE16(pos, conn->cred->dh_g_len);
397 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len);
398 pos += conn->cred->dh_g_len;
H A Dtlsv1_cred.c420 cred->dh_g_len = hdr.length;
H A Dtlsv1_client_write.c254 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len,
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_cred.h21 size_t dh_g_len; member in struct:tlsv1_credentials
H A Dtlsv1_client_i.h56 size_t dh_g_len; member in struct:tlsv1_client
H A Dtlsv1_client_read.c441 conn->dh_g_len = WPA_GET_BE16(pos);
443 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len)
445 conn->dh_g = os_malloc(conn->dh_g_len);
448 os_memcpy(conn->dh_g, pos, conn->dh_g_len);
449 pos += conn->dh_g_len;
451 conn->dh_g, conn->dh_g_len);
452 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2)
H A Dtlsv1_server_write.c323 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len,
387 if (pos + 2 + conn->cred->dh_g_len > end) {
395 WPA_PUT_BE16(pos, conn->cred->dh_g_len);
397 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len);
398 pos += conn->cred->dh_g_len;
H A Dtlsv1_cred.c420 cred->dh_g_len = hdr.length;
H A Dtlsv1_client_write.c254 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len,
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_cred.h21 size_t dh_g_len; member in struct:tlsv1_credentials
H A Dtlsv1_client_i.h56 size_t dh_g_len; member in struct:tlsv1_client
H A Dtlsv1_client_read.c441 conn->dh_g_len = WPA_GET_BE16(pos);
443 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len)
445 conn->dh_g = os_malloc(conn->dh_g_len);
448 os_memcpy(conn->dh_g, pos, conn->dh_g_len);
449 pos += conn->dh_g_len;
451 conn->dh_g, conn->dh_g_len);
452 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2)
H A Dtlsv1_server_write.c323 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len,
387 if (pos + 2 + conn->cred->dh_g_len > end) {
395 WPA_PUT_BE16(pos, conn->cred->dh_g_len);
397 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len);
398 pos += conn->cred->dh_g_len;
H A Dtlsv1_cred.c420 cred->dh_g_len = hdr.length;
H A Dtlsv1_client_write.c254 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len,

Completed in 158 milliseconds