Home
last modified time | relevance | path

Searched refs:crypto_tlv (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_peap.c395 const u8 *crypto_tlv, in eap_tlv_validate_cryptobinding() argument
412 pos = crypto_tlv; in eap_tlv_validate_cryptobinding()
431 os_memcpy(buf, crypto_tlv, 60); in eap_tlv_validate_cryptobinding()
475 const u8 *result_tlv = NULL, *crypto_tlv = NULL; in eap_tlv_process() local
504 crypto_tlv = pos; in eap_tlv_process()
532 if (crypto_tlv && data->crypto_binding != NO_BINDING) { in eap_tlv_process()
534 crypto_tlv, crypto_tlv_len); in eap_tlv_process()
535 if (eap_tlv_validate_cryptobinding(sm, data, crypto_tlv - 4, in eap_tlv_process()
540 crypto_tlv = NULL; /* do not include Cryptobinding TLV in eap_tlv_process()
544 } else if (!crypto_tlv && data->crypto_binding == REQUIRE_BINDING) { in eap_tlv_process()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c604 const u8 *crypto_tlv, in eap_tlv_validate_cryptobinding() argument
616 pos = crypto_tlv; in eap_tlv_validate_cryptobinding()
634 os_memcpy(buf, crypto_tlv, 60); in eap_tlv_validate_cryptobinding()
660 const u8 *result_tlv = NULL, *crypto_tlv = NULL; in eap_peap_process_phase2_tlv() local
692 crypto_tlv = pos; in eap_peap_process_phase2_tlv()
718 if (crypto_tlv && data->crypto_binding_sent) { in eap_peap_process_phase2_tlv()
720 crypto_tlv, crypto_tlv_len); in eap_peap_process_phase2_tlv()
721 if (eap_tlv_validate_cryptobinding(sm, data, crypto_tlv - 4, in eap_peap_process_phase2_tlv()
727 } else if (!crypto_tlv && data->crypto_binding_sent && in eap_peap_process_phase2_tlv()