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.c392 const u8 *crypto_tlv, in eap_tlv_validate_cryptobinding() argument
409 pos = crypto_tlv; in eap_tlv_validate_cryptobinding()
428 os_memcpy(buf, crypto_tlv, 60); in eap_tlv_validate_cryptobinding()
472 const u8 *result_tlv = NULL, *crypto_tlv = NULL; in eap_tlv_process() local
501 crypto_tlv = pos; in eap_tlv_process()
529 if (crypto_tlv && data->crypto_binding != NO_BINDING) { in eap_tlv_process()
531 crypto_tlv, crypto_tlv_len); in eap_tlv_process()
532 if (eap_tlv_validate_cryptobinding(sm, data, crypto_tlv - 4, in eap_tlv_process()
537 crypto_tlv = NULL; /* do not include Cryptobinding TLV in eap_tlv_process()
541 } else if (!crypto_tlv && data->crypto_binding == REQUIRE_BINDING) { in eap_tlv_process()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c562 const u8 *crypto_tlv, in eap_tlv_validate_cryptobinding() argument
574 pos = crypto_tlv; in eap_tlv_validate_cryptobinding()
592 os_memcpy(buf, crypto_tlv, 60); in eap_tlv_validate_cryptobinding()
618 const u8 *result_tlv = NULL, *crypto_tlv = NULL; in eap_peap_process_phase2_tlv() local
650 crypto_tlv = pos; in eap_peap_process_phase2_tlv()
676 if (crypto_tlv && data->crypto_binding_sent) { in eap_peap_process_phase2_tlv()
678 crypto_tlv, crypto_tlv_len); in eap_peap_process_phase2_tlv()
679 if (eap_tlv_validate_cryptobinding(sm, data, crypto_tlv - 4, in eap_peap_process_phase2_tlv()
685 } else if (!crypto_tlv && data->crypto_binding_sent && in eap_peap_process_phase2_tlv()