Lines Matching refs:rbind
643 struct eap_tlv_crypto_binding_tlv *rbind, in eap_fast_write_crypto_binding() argument
646 rbind->tlv_type = host_to_be16(EAP_TLV_TYPE_MANDATORY | in eap_fast_write_crypto_binding()
648 rbind->length = host_to_be16(sizeof(*rbind) - in eap_fast_write_crypto_binding()
650 rbind->version = EAP_FAST_VERSION; in eap_fast_write_crypto_binding()
651 rbind->received_version = _bind->version; in eap_fast_write_crypto_binding()
652 rbind->subtype = EAP_TLV_CRYPTO_BINDING_SUBTYPE_RESPONSE; in eap_fast_write_crypto_binding()
653 os_memcpy(rbind->nonce, _bind->nonce, sizeof(_bind->nonce)); in eap_fast_write_crypto_binding()
654 inc_byte_array(rbind->nonce, sizeof(rbind->nonce)); in eap_fast_write_crypto_binding()
655 hmac_sha1(cmk, EAP_FAST_CMK_LEN, (u8 *) rbind, sizeof(*rbind), in eap_fast_write_crypto_binding()
656 rbind->compound_mac); in eap_fast_write_crypto_binding()
660 rbind->version, rbind->received_version, rbind->subtype); in eap_fast_write_crypto_binding()
662 rbind->nonce, sizeof(rbind->nonce)); in eap_fast_write_crypto_binding()
664 rbind->compound_mac, sizeof(rbind->compound_mac)); in eap_fast_write_crypto_binding()