Lines Matching refs:flags

647 	u8 flags, subtype;  in eap_teap_validate_crypto_binding()  local
650 flags = cb->subtype >> 4; in eap_teap_validate_crypto_binding()
654 cb->version, cb->received_version, flags, subtype); in eap_teap_validate_crypto_binding()
665 flags < 1 || flags > 3) { in eap_teap_validate_crypto_binding()
668 cb->version, cb->received_version, flags, subtype); in eap_teap_validate_crypto_binding()
688 u8 subtype, flags; in eap_teap_write_crypto_binding() local
698 flags = cmk_emsk ? TEAP_CRYPTO_BINDING_EMSK_AND_MSK_CMAC : in eap_teap_write_crypto_binding()
701 rbind->subtype = (flags << 4) | subtype; in eap_teap_write_crypto_binding()
719 rbind->version, rbind->received_version, flags, subtype); in eap_teap_write_crypto_binding()
831 u8 flags; in eap_teap_process_crypto_binding() local
838 flags = cb->subtype >> 4; in eap_teap_process_crypto_binding()
840 if (flags == TEAP_CRYPTO_BINDING_MSK_CMAC || in eap_teap_process_crypto_binding()
841 flags == TEAP_CRYPTO_BINDING_EMSK_AND_MSK_CMAC) { in eap_teap_process_crypto_binding()
863 if ((flags == TEAP_CRYPTO_BINDING_EMSK_CMAC || in eap_teap_process_crypto_binding()
864 flags == TEAP_CRYPTO_BINDING_EMSK_AND_MSK_CMAC) && in eap_teap_process_crypto_binding()
889 if (flags == TEAP_CRYPTO_BINDING_EMSK_CMAC && in eap_teap_process_crypto_binding()
1630 struct eap_teap_data *data, u8 flags, in eap_teap_process_start() argument
1640 data->received_version = flags & EAP_TLS_VERSION_MASK; in eap_teap_process_start()
1657 if (flags & EAP_TEAP_FLAGS_OUTER_TLV_LEN) { in eap_teap_process_start()
1776 u8 flags; in eap_teap_add_stub_outer_tlvs() local
1810 flags = *pos++; in eap_teap_add_stub_outer_tlvs()
1811 if (flags & (EAP_TEAP_FLAGS_OUTER_TLV_LEN | in eap_teap_add_stub_outer_tlvs()
1819 flags |= EAP_TEAP_FLAGS_OUTER_TLV_LEN; in eap_teap_add_stub_outer_tlvs()
1820 wpabuf_put_u8(resp2, flags); in eap_teap_add_stub_outer_tlvs()
1843 u8 flags, id; in eap_teap_process() local
1850 reqData, &left, &flags); in eap_teap_process()
1857 if (flags & EAP_TLS_FLAGS_START) { in eap_teap_process()
1858 if (eap_teap_process_start(sm, data, flags, pos, left) < 0) in eap_teap_process()
1866 } else if (flags & EAP_TEAP_FLAGS_OUTER_TLV_LEN) { in eap_teap_process()
1995 (flags & EAP_TLS_FLAGS_START) && wpabuf_len(resp) >= 6) in eap_teap_process()