Home
last modified time | relevance | path

Searched refs:tlen (Results 1 – 7 of 7) sorted by relevance

/hostap-latest/src/utils/
Dcommon.c659 size_t tlen; in wpa_config_parse_string() local
664 tlen = pos - value; in wpa_config_parse_string()
665 tstr = dup_binstr(value, tlen); in wpa_config_parse_string()
669 str = os_malloc(tlen + 1); in wpa_config_parse_string()
675 *len = printf_decode((u8 *) str, tlen + 1, tstr); in wpa_config_parse_string()
681 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() local
684 tlen = hlen / 2; in wpa_config_parse_string()
685 str = os_malloc(tlen + 1); in wpa_config_parse_string()
688 if (hexstr2bin(value, str, tlen)) { in wpa_config_parse_string()
692 str[tlen] = '\0'; in wpa_config_parse_string()
[all …]
/hostap-latest/src/common/
Dsae.c1851 size_t scalar_elem_len, tlen; in sae_parse_commit_token() local
1865 tlen = end - (*pos + scalar_elem_len); in sae_parse_commit_token()
1867 if (tlen < SHA256_MAC_LEN) { in sae_parse_commit_token()
1870 (unsigned int) tlen); in sae_parse_commit_token()
1874 wpa_hexdump(MSG_DEBUG, "SAE: Anti-Clogging Token", *pos, tlen); in sae_parse_commit_token()
1878 *token_len = tlen; in sae_parse_commit_token()
1879 *pos += tlen; in sae_parse_commit_token()
/hostap-latest/src/eap_peer/
Dikev2.c280 int tlen = ikev2_parse_transform(prop, ppos, pend); in ikev2_parse_proposal() local
281 if (tlen < 0) in ikev2_parse_proposal()
283 ppos += tlen; in ikev2_parse_proposal()
Deap_fast.c1366 int tlen; in eap_fast_get_a_id() local
1368 tlen = be_to_host16(hdr->len); in eap_fast_get_a_id()
1370 sizeof(*hdr) + tlen <= len) { in eap_fast_get_a_id()
1374 *id_len = tlen; in eap_fast_get_a_id()
/hostap-latest/src/eap_server/
Dikev2.c286 int tlen = ikev2_parse_transform(data, prop, ppos, pend); in ikev2_parse_proposal() local
287 if (tlen < 0) in ikev2_parse_proposal()
289 ppos += tlen; in ikev2_parse_proposal()
/hostap-latest/src/crypto/
Dtls_mbedtls_alt.c1873 size_t *tlen, in tls_mbedtls_ssl_ticket_write() argument
1881 *tlen = 0; in tls_mbedtls_ssl_ticket_write()
1885 … return mbedtls_ssl_ticket_write(&tls_ctx_global.ticket_ctx, session, start, end, tlen, lifetime); in tls_mbedtls_ssl_ticket_write()
/hostap-latest/tests/hwsim/
Dtest_eap_proto.py6126 tlen = tlen1 + tlen2 + tlen3
6128 0, 0, 4 + 8 + tlen + 1,
6129 0, 0, 8 + tlen + 1, 1, 1, 0, 3,
6137 tlen = 5 * 8
6139 next, 0, 4 + 8 + tlen,
6140 0, 0, 8 + tlen, 1, 1, 0, 5,