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

Nils Ollrogge notifications at github.com
Mon Aug 9 14:25:41 CEST 2021


@Ollrogge commented on this pull request.



> +
+/**
+ * @brief Total size of AES CCM credential id
+ *
+ * Size of encrypted resident key = resident key - cred id
+ *                                        - has_nonce
+ */
+#define CTAP_CREDENTIAL_ID_ENC_SIZE (sizeof(struct ctap_resident_key) - \
+                                     sizeof(((struct ctap_resident_key *)0)-> \
+                                            cred_desc.cred_id) - \
+                                     sizeof(((struct ctap_resident_key *)0)-> \
+                                            cred_desc.has_nonce))
+/**
+ * @brief Start page for storing resident keys
+ */
+#define CTAP_RK_START_PAGE 34U

I think that was kinda arbitrary. Adjusted it to be 15 for now. 13 is the lowest it can be, before it overwrites parts of the application and causes crashes.

-- 
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_r685147048
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210809/5b70de57/attachment.htm>


More information about the notifications mailing list