1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/fido2/ctap/transport/hid/Kconfig
Francisco Molina 8e3422781d sys/fido2: use ztimer instead of xtimer
- for ctap hid timeouts xtimer was used, use ztimer64_msec instead
  since the code is using absolute times, an already using ztimer_msec
- use event_timeout_ztimer instead of event_timeout to not pull in
  xtimer
2022-03-04 17:04:28 +01:00

29 lines
931 B
Plaintext

# Copyright (C) 2021 Freie Universität Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
menuconfig MODULE_FIDO2_CTAP_TRANSPORT_HID
bool "FIDO2 CTAP transport HID"
depends on MODULE_FIDO2_CTAP_TRANSPORT
depends on TEST_KCONFIG
select MODULE_ISRPIPE
select MODULE_USBUS_HID
select MODULE_ZTIMER64
select MODULE_ZTIMER64_MSEC
help
Configure a FIDO2 CTAP authenticator via KConfig.
if MODULE_FIDO2_CTAP_TRANSPORT_HID
config FIDO2_CTAP_TRANSPORT_HID_TRANSACTION_TIMEOUT
int "CTAPHID Transaction timeout in milliseconds"
default 500
help
A CTAPHID transaction has to be completed within a specified period
of time to prevent the authenticator from being locked by a
stalling application.
endif # MODULE_FIDO2_CTAP_TRANSPORT_HID