HomeSort by relevance Sort by last modified time
    Searched refs:tlv (Results 1 - 16 of 16) sorted by null

  /external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
eap_fast_common.c 57 /* Encapsulate EAP packet in EAP-Payload TLV */
58 wpa_printf(MSG_DEBUG, "EAP-FAST: Add EAP-Payload TLV");
62 "for TLV encapsulation");
182 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv,
187 wpa_hexdump(MSG_MSGDUMP, "EAP-FAST: EAP-Payload TLV",
189 if (tlv->eap_payload_tlv) {
191 "EAP-Payload TLV in the message");
192 tlv->iresult = EAP_TLV_RESULT_FAILURE;
195 tlv->eap_payload_tlv = pos;
196 tlv->eap_payload_tlv_len = len
    [all...]
eap_fast_common.h 27 * RFC 5422: Section 4.2.1 - Formats for PAC TLV Attributes / Type Field
29 * in the general PAC TLV format (Section 4.2).
61 /* RFC 5422: 4.2.6 PAC-Type TLV */
110 int eap_fast_parse_tlv(struct eap_fast_tlv_parse *tlv,
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
tipc_config.h 53 * the payload consists of zero or more type/length/value (TLV) items
59 * of an "error string" TLV in the reply message instead of the TLV(s) the
139 * TLV types defined for TIPC
142 #define TIPC_TLV_NONE 0 /* no TLV present */
143 #define TIPC_TLV_VOID 1 /* empty TLV (0 data bytes)*/
228 * The error string TLV is a null-terminated string describing the cause
234 #define TIPC_CFG_TLV_ERROR "\x80" /* request contains incorrect TLV(s) */
242 /* prototypes TLV structures for proposed commands */
256 * A TLV consists of a descriptor, followed by the TLV value
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_fast.c 30 /* Private PAC-Opaque TLV types */
119 /* TODO: send Result TLV(FAILURE) */
615 wpa_printf(MSG_DEBUG, "EAP-FAST: Add Intermediate-Result TLV "
626 /* Result TLV */
627 wpa_printf(MSG_DEBUG, "EAP-FAST: Add Result TLV "
636 /* Crypto-Binding TLV */
662 * Compound-MAC = HMAC-SHA1( CMK, Crypto-Binding TLV )
669 wpa_printf(MSG_DEBUG, "EAP-FAST: Add Crypto-Binding TLV: Version %d "
760 /* Result TLV */
761 wpa_printf(MSG_DEBUG, "EAP-FAST: Add Result TLV (status=SUCCESS)")
1229 struct eap_tlv_pac_type_tlv *tlv; local
1246 struct eap_fast_tlv_parse tlv; local
    [all...]
eap_peap.c 110 struct eap_tlv_hdr *tlv; local
115 /* Encapsulate EAP packet in EAP-Payload TLV */
116 wpa_printf(MSG_DEBUG, "EAP-PEAPv2: Add EAP-Payload TLV");
117 e = wpabuf_alloc(sizeof(*tlv) + wpabuf_len(buf));
120 "for TLV encapsulation");
124 tlv = wpabuf_put(e, sizeof(*tlv));
125 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY |
127 tlv->length = host_to_be16(wpabuf_len(buf));
375 len = 6; /* Result TLV */
1110 struct eap_tlv_hdr *tlv; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_fast.c 507 wpa_printf(MSG_DEBUG, "EAP-FAST: Add %sResult TLV(status=%d)",
530 wpa_printf(MSG_DEBUG, "EAP-FAST: Add PAC TLV (ack)");
553 "Payload TLV (len=%lu)",
561 "EAP Payload TLV");
584 wpa_printf(MSG_DEBUG, "EAP-FAST: Crypto-Binding TLV: Version %d "
596 "Crypto-Binding TLV: Version %d "
623 wpa_printf(MSG_DEBUG, "EAP-FAST: Reply Crypto-Binding TLV: Version %d "
758 wpa_hexdump(MSG_MSGDUMP, "EAP-FAST: Crypto-Binding TLV for Compound "
851 wpa_printf(MSG_DEBUG, "EAP-FAST: PAC TLV overrun "
865 wpa_printf(MSG_DEBUG, "EAP-FAST: PAC TLV does not include
1148 struct eap_fast_tlv_parse tlv; local
1365 u8 *tlv; local
    [all...]
eap_peap.c 194 * eap_tlv_build_nak - Build EAP-TLV NAK message
196 * @nak_type: TLV type (EAP_TLV_*)
197 * Returns: Buffer to the allocated EAP-TLV NAK message or %NULL on failure
199 * This funtion builds an EAP-TLV NAK message. The caller is responsible for
312 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */
344 * eap_tlv_build_result - Build EAP-TLV Result message
347 * Returns: Buffer to the allocated EAP-TLV Result message or %NULL on failure
349 * This funtion builds an EAP-TLV Result message. The caller is responsible for
365 len += 60; /* Cryptobinding TLV */
399 wpa_printf(MSG_DEBUG, "EAP-PEAP: Invalid cryptobinding TLV "
587 struct eap_tlv_hdr *tlv; local
842 struct eap_tlv_hdr *tlv; local
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
UsimPhoneBookManager.java 179 // that appear in the TLV object indicated by Tag 'A9' in the reference file record.
375 void parseTag(SimTlv tlv, int recNum) {
381 tag = tlv.getTag();
386 data = tlv.getData();
391 } while (tlv.nextObject());
395 void parseEf(SimTlv tlv, Map<Integer, Integer> val, int parentTag) {
400 tag = tlv.getTag();
418 data = tlv.getData();
424 } while(tlv.nextObject());
SIMRecords.java 869 SimTlv tlv = new SimTlv(data, 0, data.length); local
871 for ( ; tlv.isValidObject() ; tlv.nextObject()) {
872 if (tlv.getTag() == TAG_FULL_NETWORK_NAME) {
875 tlv.getData(), 0, tlv.getData().length);
1466 SimTlv tlv = new SimTlv(data, 0, data.length); local
    [all...]
  /external/wpa_supplicant/tests/
test_sha1.c 99 u8 tlv[] = { local
156 memset(tlv + sizeof(tlv) - 20, 0, 20);
157 hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20);
158 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac))
  /external/wpa_supplicant_6/wpa_supplicant/tests/
test_sha1.c 110 u8 tlv[] = { local
175 memset(tlv + sizeof(tlv) - 20, 0, 20);
176 hmac_sha1(cmk, 20, tlv, sizeof(tlv), tlv + sizeof(tlv) - 20);
177 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac))
  /external/wpa_supplicant/
eap_fast.c 1206 struct eap_tlv_hdr *tlv; local
1208 /* Encapsulate EAP packet in EAP Payload TLV */
1209 tlv = os_malloc(sizeof(*tlv) + *len);
1210 if (tlv == NULL) {
1212 "allocate memory for TLV "
1217 tlv->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY |
1219 tlv->length = host_to_be16(*len);
1220 os_memcpy(tlv + 1, buf, *len);
1222 *len += sizeof(*tlv);
1869 u8 *tlv; local
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/
control.h 125 /** Element's TLV value has been changed \hideinitializer */
169 /** TLV type - Container */
171 /** TLV type - basic dB scale */
173 /** TLV type - linear volume */
175 /** TLV type - dB range container */
240 unsigned int *tlv, unsigned int tlv_size);
242 const unsigned int *tlv);
244 const unsigned int *tlv);
515 int snd_hctl_elem_tlv_read(snd_hctl_elem_t *elem, unsigned int *tlv, unsigned int tlv_size);
516 int snd_hctl_elem_tlv_write(snd_hctl_elem_t *elem, const unsigned int *tlv);
    [all...]
  /external/iproute2/tc/
em_meta.c 148 static inline void dump_value(struct nlmsghdr *n, int tlv, unsigned long val,
156 addattr_l(n, MAX_MSG, tlv, &t, sizeof(t));
162 addattr_l(n, MAX_MSG, tlv, a->data, a->len);
440 fprintf(stderr, "Missing value TLV\n");
447 fprintf(stderr, "meta int type value TLV " \
496 fprintf(stderr, "meta int type mask TLV size mismatch\n");
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/sound/
emu10k1.h 283 unsigned int *tlv; member in struct:__anon14065
  /device/samsung/crespo/libaudio/
asound.h 748 unsigned int tlv[0]; member in struct:snd_ctl_tlv

Completed in 446 milliseconds