Home
last modified time | relevance | path

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

/hostap-latest/src/eap_server/
Deap_server_fast.c592 struct eap_tlv_crypto_binding_tlv *binding; in eap_fast_build_crypto_binding() local
594 buf = wpabuf_alloc(2 * sizeof(*result) + sizeof(*binding)); in eap_fast_build_crypto_binding()
628 binding = wpabuf_put(buf, sizeof(*binding)); in eap_fast_build_crypto_binding()
629 binding->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_build_crypto_binding()
631 binding->length = host_to_be16(sizeof(*binding) - in eap_fast_build_crypto_binding()
633 binding->version = EAP_FAST_VERSION; in eap_fast_build_crypto_binding()
634 binding->received_version = data->peer_version; in eap_fast_build_crypto_binding()
635 binding->subtype = EAP_TLV_CRYPTO_BINDING_SUBTYPE_REQUEST; in eap_fast_build_crypto_binding()
636 if (random_get_bytes(binding->nonce, sizeof(binding->nonce)) < 0) { in eap_fast_build_crypto_binding()
645 binding->nonce[sizeof(binding->nonce) - 1] &= ~0x01; in eap_fast_build_crypto_binding()
[all …]
/hostap-latest/hostapd/
DChangeLog249 * EAP-PEAP: support fast-connect crypto binding