Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/wpa_supplicant/src/eap_peer/
Deap_fast.c621 struct eap_tlv_crypto_binding_tlv *rbind, in eap_fast_write_crypto_binding() argument
624 rbind->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_write_crypto_binding()
626 rbind->length = host_to_be16(sizeof(*rbind) - in eap_fast_write_crypto_binding()
628 rbind->version = EAP_FAST_VERSION; in eap_fast_write_crypto_binding()
629 rbind->received_version = _bind->version; in eap_fast_write_crypto_binding()
630 rbind->subtype = EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE; in eap_fast_write_crypto_binding()
631 os_memcpy(rbind->nonce, _bind->nonce, sizeof(_bind->nonce)); in eap_fast_write_crypto_binding()
632 inc_byte_array(rbind->nonce, sizeof(rbind->nonce)); in eap_fast_write_crypto_binding()
633 hmac_sha1(cmk, EAP_FAST_CMK_LEN, (u8 *) rbind, sizeof(*rbind), in eap_fast_write_crypto_binding()
634 rbind->compound_mac); in eap_fast_write_crypto_binding()
[all …]