Searched refs:crypto_tlv (Results 1 – 2 of 2) sorted by relevance
/hostap-3.6.0/src/eap_peer/ |
D | eap_peap.c | 398 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 …]
|
/hostap-3.6.0/src/eap_server/ |
D | eap_server_peap.c | 639 const u8 *crypto_tlv, in eap_tlv_validate_cryptobinding() argument 651 pos = crypto_tlv; in eap_tlv_validate_cryptobinding() 669 os_memcpy(buf, crypto_tlv, 60); in eap_tlv_validate_cryptobinding() 695 const u8 *result_tlv = NULL, *crypto_tlv = NULL; in eap_peap_process_phase2_tlv() local 727 crypto_tlv = pos; in eap_peap_process_phase2_tlv() 753 if (crypto_tlv && data->crypto_binding_sent) { in eap_peap_process_phase2_tlv() 755 crypto_tlv, crypto_tlv_len); in eap_peap_process_phase2_tlv() 756 if (eap_tlv_validate_cryptobinding(sm, data, crypto_tlv - 4, in eap_peap_process_phase2_tlv() 762 } else if (!crypto_tlv && data->crypto_binding_sent && in eap_peap_process_phase2_tlv()
|