• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/eap8021x-180/EAP8021X.fproj/

Lines Matching +defs:crypto +defs:type

209 TLVSetType(TLVRef tlv, TLVType type)
211 net_uint16_set(tlv->tlv_type, type);
483 PACTypeTLVRef type;
497 CryptoBindingTLVRef crypto;
777 /* unexpected type, skip it */
1377 eap_client_init(EAPClientPluginDataRef plugin, EAPType type)
1389 module = EAPClientModuleLookup(type);
1412 context->eap.last_type = type;
1979 is_supported_type(EAPFASTPluginDataRef context, EAPType type)
1984 return (type == kEAPTypeMSCHAPv2);
1988 if (inner_auth_types[i] == type) {
2025 if (in_pkt_p->type == kEAPTypeInvalid) {
2028 if (in_pkt_p->type != eap_client_type(context)) {
2029 if (is_supported_type(context, in_pkt_p->type) == FALSE) {
2047 if (eap_client_init(plugin, in_pkt_p->type) == FALSE) {
2051 "eap_client_init type %d failed",
2052 in_pkt_p->type);
2063 if (in_pkt_p->type != eap_client_type(context)) {
2153 "%s PACTLV Attribute (type=%d) Length=%d%s\n",
2186 if (tlvlist_p != NULL && tlvlist_p->type == NULL) {
2187 tlvlist_p->type = (PACTypeTLVRef)scan;
2266 STRING_APPEND(str, "%s TLV (type=%d) Length=%d%s\n",
2379 if (tlvlist_p->crypto != NULL) {
2384 tlvlist_p->crypto = (CryptoBindingTLVRef)scan;
2566 const CryptoBindingTLVRef crypto, BufferRef buf)
2585 if (crypto->cb_version != kEAPFASTVersion1) {
2588 crypto->cb_version, kEAPFASTVersion1);
2591 if (crypto->cb_received_version != context->eapfast_version) {
2594 crypto->cb_received_version, context->eapfast_version);
2597 if (crypto->cb_sub_type != kCryptoBindingSubTypeBindingRequest) {
2600 crypto->cb_sub_type, kCryptoBindingSubTypeBindingRequest);
2632 *cb_p = *crypto;
2639 if (bcmp(crypto->cb_compound_mac, compound_mac,
2766 if (tlvlist_p->crypto != NULL) {
2771 /* intermediate status success requires crypto binding TLV */
2823 if (tlvlist_p->crypto != NULL) {
2824 if (process_crypto_binding(context, tlvlist_p->crypto,
2893 switch (in_pkt_p->type) {
3215 RequestType type;
3237 type = kRequestTypeData;
3239 type = kRequestTypeStart;
3248 type = kRequestTypeAck;
3268 type = kRequestTypeAck;
3278 if (type != kRequestTypeStart) {
3334 if (type != kRequestTypeData) {
3336 type == kRequestTypeAck ? "Ack" : "Start");
3487 dictInsertEAPTypeInfo(CFMutableDictionaryRef dict, EAPType type,
3491 int eap_type = type;
3493 if (type == kEAPTypeInvalid) {