Searched refs:psklen (Results 1 – 8 of 8) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 190 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/ |
D | networkconfig.cpp | 190 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/ |
D | statem_clnt.c | 2761 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 …]
|
D | extensions_clnt.c | 767 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()
|
D | statem_srvr.c | 2803 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/ |
D | s3_lib.c | 4605 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()
|
D | ssl_local.h | 1345 size_t psklen; member
|
/third_party/openssl/test/ |
D | sslapitest.c | 3084 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()
|