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.c398 const u8 *crypto_tlv, in eap_tlv_validate_cryptobinding() argument
415 pos = crypto_tlv; in eap_tlv_validate_cryptobinding()
434 os_memcpy(buf, crypto_tlv, 60); in eap_tlv_validate_cryptobinding()
478 const u8 *result_tlv = NULL, *crypto_tlv = NULL; in eap_tlv_process() local
507 crypto_tlv = pos; in eap_tlv_process()
535 if (crypto_tlv && data->crypto_binding != NO_BINDING) { in eap_tlv_process()
537 crypto_tlv, crypto_tlv_len); in eap_tlv_process()
538 if (eap_tlv_validate_cryptobinding(sm, data, crypto_tlv - 4, in eap_tlv_process()
543 crypto_tlv = NULL; /* do not include Cryptobinding TLV in eap_tlv_process()
547 } else if (!crypto_tlv && data->crypto_binding == REQUIRE_BINDING) { in eap_tlv_process()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c608 const u8 *crypto_tlv, in eap_tlv_validate_cryptobinding() argument
620 pos = crypto_tlv; in eap_tlv_validate_cryptobinding()
638 os_memcpy(buf, crypto_tlv, 60); in eap_tlv_validate_cryptobinding()
664 const u8 *result_tlv = NULL, *crypto_tlv = NULL; in eap_peap_process_phase2_tlv() local
696 crypto_tlv = pos; in eap_peap_process_phase2_tlv()
722 if (crypto_tlv && data->crypto_binding_sent) { in eap_peap_process_phase2_tlv()
724 crypto_tlv, crypto_tlv_len); in eap_peap_process_phase2_tlv()
725 if (eap_tlv_validate_cryptobinding(sm, data, crypto_tlv - 4, in eap_peap_process_phase2_tlv()
731 } else if (!crypto_tlv && data->crypto_binding_sent && in eap_peap_process_phase2_tlv()