Home
last modified time | relevance | path

Searched refs:psklen (Results 1 – 8 of 8) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp190 int psklen = pskEdit->text().length(); in addNetwork() local
194 if (psklen < 8 || psklen > 64) { in addNetwork()
299 psklen != 64); in addNetwork()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp190 int psklen = pskEdit->text().length(); in addNetwork() local
194 if (psklen < 8 || psklen > 64) { in addNetwork()
299 psklen != 64); in addNetwork()
/third_party/openssl/ssl/statem/
Dstatem_clnt.c2761 size_t psklen = 0; in tls_construct_cke_psk_preamble() local
2770 psklen = s->psk_client_callback(s, s->session->psk_identity_hint, in tls_construct_cke_psk_preamble()
2774 if (psklen > PSK_MAX_PSK_LEN) { in tls_construct_cke_psk_preamble()
2776 psklen = PSK_MAX_PSK_LEN; /* Avoid overrunning the array on cleanse */ in tls_construct_cke_psk_preamble()
2778 } else if (psklen == 0) { in tls_construct_cke_psk_preamble()
2789 tmppsk = OPENSSL_memdup(psk, psklen); in tls_construct_cke_psk_preamble()
2798 s->s3.tmp.psklen = psklen; in tls_construct_cke_psk_preamble()
2812 OPENSSL_cleanse(psk, psklen); in tls_construct_cke_psk_preamble()
2814 OPENSSL_clear_free(tmppsk, psklen); in tls_construct_cke_psk_preamble()
3324 OPENSSL_clear_free(s->s3.tmp.psk, s->s3.tmp.psklen); in tls_construct_client_key_exchange()
[all …]
Dextensions_clnt.c767 size_t psklen = 0; in tls_construct_ctos_early_data() local
770 psklen = s->psk_client_callback(s, NULL, identity, sizeof(identity) - 1, in tls_construct_ctos_early_data()
773 if (psklen > PSK_MAX_PSK_LEN) { in tls_construct_ctos_early_data()
776 } else if (psklen > 0) { in tls_construct_ctos_early_data()
799 || !SSL_SESSION_set1_master_key(psksess, psk, psklen) in tls_construct_ctos_early_data()
803 OPENSSL_cleanse(psk, psklen); in tls_construct_ctos_early_data()
806 OPENSSL_cleanse(psk, psklen); in tls_construct_ctos_early_data()
Dstatem_srvr.c2803 size_t psklen; in tls_process_cke_psk_preamble() local
2824 psklen = s->psk_server_callback(s, s->session->psk_identity, in tls_process_cke_psk_preamble()
2827 if (psklen > PSK_MAX_PSK_LEN) { in tls_process_cke_psk_preamble()
2830 } else if (psklen == 0) { in tls_process_cke_psk_preamble()
2839 s->s3.tmp.psk = OPENSSL_memdup(psk, psklen); in tls_process_cke_psk_preamble()
2840 OPENSSL_cleanse(psk, psklen); in tls_process_cke_psk_preamble()
2843 s->s3.tmp.psklen = 0; in tls_process_cke_psk_preamble()
2848 s->s3.tmp.psklen = psklen; in tls_process_cke_psk_preamble()
3343 OPENSSL_clear_free(s->s3.tmp.psk, s->s3.tmp.psklen); in tls_process_client_key_exchange()
3345 s->s3.tmp.psklen = 0; in tls_process_client_key_exchange()
/third_party/openssl/ssl/
Ds3_lib.c4605 size_t psklen = s->s3.tmp.psklen; in ssl_generate_master_secret() local
4612 pmslen = psklen; in ssl_generate_master_secret()
4614 pskpmslen = 4 + pmslen + psklen; in ssl_generate_master_secret()
4625 s2n(psklen, t); in ssl_generate_master_secret()
4626 memcpy(t, s->s3.tmp.psk, psklen); in ssl_generate_master_secret()
4628 OPENSSL_clear_free(s->s3.tmp.psk, psklen); in ssl_generate_master_secret()
4630 s->s3.tmp.psklen = 0; in ssl_generate_master_secret()
Dssl_local.h1345 size_t psklen; member
/third_party/openssl/test/
Dsslapitest.c3084 unsigned int psklen = 0; in psk_client_cb() local
3101 psklen = SSL_SESSION_get_master_key(clientpsk, psk, max_psk_len); in psk_client_cb()
3104 return psklen; in psk_client_cb()
3138 unsigned int psklen = 0; in psk_server_cb() local
3157 psklen = SSL_SESSION_get_master_key(serverpsk, psk, max_psk_len); in psk_server_cb()
3159 return psklen; in psk_server_cb()