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.c2894 size_t psklen = 0; in tls_construct_cke_psk_preamble() local
2904 psklen = s->psk_client_callback(s, s->session->psk_identity_hint, in tls_construct_cke_psk_preamble()
2908 if (psklen > PSK_MAX_PSK_LEN) { in tls_construct_cke_psk_preamble()
2911 psklen = PSK_MAX_PSK_LEN; /* Avoid overrunning the array on cleanse */ in tls_construct_cke_psk_preamble()
2913 } else if (psklen == 0) { in tls_construct_cke_psk_preamble()
2927 tmppsk = OPENSSL_memdup(psk, psklen); in tls_construct_cke_psk_preamble()
2937 s->s3->tmp.psklen = psklen; in tls_construct_cke_psk_preamble()
2952 OPENSSL_cleanse(psk, psklen); in tls_construct_cke_psk_preamble()
2954 OPENSSL_clear_free(tmppsk, psklen); in tls_construct_cke_psk_preamble()
3359 OPENSSL_clear_free(s->s3->tmp.psk, s->s3->tmp.psklen); in tls_construct_client_key_exchange()
[all …]
Dextensions_clnt.c762 size_t psklen = 0; in tls_construct_ctos_early_data() local
765 psklen = s->psk_client_callback(s, NULL, identity, sizeof(identity) - 1, in tls_construct_ctos_early_data()
768 if (psklen > PSK_MAX_PSK_LEN) { in tls_construct_ctos_early_data()
772 } 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()
805 OPENSSL_cleanse(psk, psklen); in tls_construct_ctos_early_data()
808 OPENSSL_cleanse(psk, psklen); in tls_construct_ctos_early_data()
Dstatem_srvr.c2933 size_t psklen; in tls_process_cke_psk_preamble() local
2958 psklen = s->psk_server_callback(s, s->session->psk_identity, in tls_process_cke_psk_preamble()
2961 if (psklen > PSK_MAX_PSK_LEN) { in tls_process_cke_psk_preamble()
2965 } else if (psklen == 0) { in tls_process_cke_psk_preamble()
2976 s->s3->tmp.psk = OPENSSL_memdup(psk, psklen); in tls_process_cke_psk_preamble()
2977 OPENSSL_cleanse(psk, psklen); in tls_process_cke_psk_preamble()
2980 s->s3->tmp.psklen = 0; in tls_process_cke_psk_preamble()
2986 s->s3->tmp.psklen = psklen; in tls_process_cke_psk_preamble()
3518 OPENSSL_clear_free(s->s3->tmp.psk, s->s3->tmp.psklen); in tls_process_client_key_exchange()
3520 s->s3->tmp.psklen = 0; in tls_process_client_key_exchange()
/third_party/openssl/ssl/
Ds3_lib.c4607 size_t psklen = s->s3->tmp.psklen; in ssl_generate_master_secret() local
4614 pmslen = psklen; in ssl_generate_master_secret()
4616 pskpmslen = 4 + pmslen + psklen; in ssl_generate_master_secret()
4627 s2n(psklen, t); in ssl_generate_master_secret()
4628 memcpy(t, s->s3->tmp.psk, psklen); in ssl_generate_master_secret()
4630 OPENSSL_clear_free(s->s3->tmp.psk, psklen); in ssl_generate_master_secret()
4632 s->s3->tmp.psklen = 0; in ssl_generate_master_secret()
Dssl_local.h1611 size_t psklen; member
/third_party/openssl/test/
Dsslapitest.c2048 unsigned int psklen = 0; in psk_client_cb() local
2065 psklen = SSL_SESSION_get_master_key(clientpsk, psk, max_psk_len); in psk_client_cb()
2068 return psklen; in psk_client_cb()
2102 unsigned int psklen = 0; in psk_server_cb() local
2121 psklen = SSL_SESSION_get_master_key(serverpsk, psk, max_psk_len); in psk_server_cb()
2123 return psklen; in psk_server_cb()