[riot-notifications] [RIOT-OS/RIOT] FIDO2 support in RIOT (#16489)

Nils Ollrogge notifications at github.com
Fri Jun 4 11:04:11 CEST 2021


@Ollrogge commented on this pull request.



> + */
+void fido2_ctap_transport_hid_handle_packet(void *pkt_raw, int size);
+
+/**
+ * @brief Send keepalive packet
+ *
+ * @param[in] status    CTAP_HID status code
+ *
+ */
+void fido2_ctap_transport_hid_send_keepalive(uint8_t status);
+
+/**
+ * @brief Check logical channels for timeouts
+ *
+ */
+void fido2_ctap_transport_hid_check_timeouts(void);

This function is used to prevent one channel from locking the authenticator. E.g. if a device starts a transaction that does not fit in one packet and sends a CTAPHID initialization packet but not continuation packet the authenticator will keep waiting. `fido2_ctap_transport_hid_check_timeouts` will prevent this by cancelling a transaction if it takes too long


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r645413960
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210604/25b512e8/attachment.htm>


More information about the notifications mailing list