Home
last modified time | relevance | path

Searched refs:auth_len (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c522 u8 method, const u8 *auth, size_t auth_len) in ikev2_process_auth_cert() argument
537 size_t auth_len) in ikev2_process_auth_secret() argument
567 if (auth_len != prf->hash_len || in ikev2_process_auth_secret()
568 os_memcmp_const(auth, auth_data, auth_len) != 0) { in ikev2_process_auth_secret()
571 auth, auth_len); in ikev2_process_auth_secret()
587 const u8 *auth, size_t auth_len) in ikev2_process_auth() argument
596 if (auth_len < 4) { in ikev2_process_auth()
604 auth_len -= 4; in ikev2_process_auth()
607 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Authentication Data", auth, auth_len); in ikev2_process_auth()
612 auth_len); in ikev2_process_auth()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Dikev2.c590 u8 method, const u8 *auth, size_t auth_len) in ikev2_process_auth_cert() argument
605 size_t auth_len) in ikev2_process_auth_secret() argument
635 if (auth_len != prf->hash_len || in ikev2_process_auth_secret()
636 os_memcmp_const(auth, auth_data, auth_len) != 0) { in ikev2_process_auth_secret()
639 auth, auth_len); in ikev2_process_auth_secret()
653 const u8 *auth, size_t auth_len) in ikev2_process_auth() argument
662 if (auth_len < 4) { in ikev2_process_auth()
670 auth_len -= 4; in ikev2_process_auth()
673 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Authentication Data", auth, auth_len); in ikev2_process_auth()
678 auth_len); in ikev2_process_auth()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c433 os_memset(zeros, 0, sess->auth_len); in eap_eke_shared_secret()
434 if (eap_eke_prf(sess->prf, zeros, sess->auth_len, modexp, dh->prime_len, in eap_eke_shared_secret()
438 sess->shared_secret, sess->auth_len); in eap_eke_shared_secret()
713 sess->ka, sess->auth_len); in eap_eke_auth()
715 return eap_eke_prf(sess->prf, sess->ka, sess->auth_len, in eap_eke_auth()
731 sess->auth_len = eap_eke_auth_len(prf); in eap_eke_session_init()
735 if (sess->prf_len < 0 || sess->nonce_len < 0 || sess->auth_len < 0 || in eap_eke_session_init()
Deap_eke_common.h75 int auth_len; member
Dikev2_common.h307 size_t auth_len; member
Dikev2_common.c313 payloads->auth_len = pdatalen; in ikev2_parse_payloads()
/external/tcpdump/
Dprint-bfd.c92 uint8_t auth_len; member
253 bfd_auth_header->auth_len)); in bfd_print()
/external/srtp/srtp/
Dsrtp.c1639 unsigned auth_len; in srtp_unprotect_rtcp() local
1722 auth_len = *pkt_octet_len - tag_len; in srtp_unprotect_rtcp()
1723 auth_tag = (uint8_t *)hdr + auth_len; in srtp_unprotect_rtcp()
1737 auth_len += tag_len; in srtp_unprotect_rtcp()
1781 auth_len, tmp_tag); in srtp_unprotect_rtcp()
Dekt.c262 unsigned *auth_len, in srtcp_ekt_trailer() argument
/external/dhcpcd-6.8.2/
Ddhcp.c718 uint8_t *n_params = NULL, auth_len; in make_message() local
1021 auth_len = 0; in make_message()
1036 auth_len = (uint8_t)alen; in make_message()
1041 *p++ = auth_len; in make_message()
1043 p += auth_len; in make_message()
1055 if (ifo->auth.options & DHCPCD_AUTH_SEND && auth_len != 0) in make_message()
1057 m, len, 4, type, auth, auth_len); in make_message()
1141 size_t auth_len; in read_lease() local
1184 auth = get_option(ifp->ctx, dhcp, DHO_AUTHENTICATION, &auth_len); in read_lease()
1188 auth, auth_len) == NULL) in read_lease()
[all …]
Ddhcp6.c516 uint16_t u16, n_options, auth_len; in dhcp6_makemessage() local
721 auth_len = 0; in dhcp6_makemessage()
733 auth_len = (uint16_t)alen; in dhcp6_makemessage()
734 len += sizeof(*o) + auth_len; in dhcp6_makemessage()
942 if (ifo->auth.options & DHCPCD_AUTH_SEND && auth_len != 0) { in dhcp6_makemessage()
945 o->len = htons((uint16_t)auth_len); in dhcp6_makemessage()