<p></p>
<p><b>@Ollrogge</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r662238000">sys/fido2/ctap/ctap.c</a>:</p>
<pre style='color:#555'>> +static ctap_get_assertion_state_t g_assert_state;
+static uint8_t g_pin_token[CTAP_PIN_TOKEN_SIZE];
+/* remaining PIN attempts until authenticator is boot locked */
+static int g_rem_pin_att_boot = CTAP_PIN_MAX_ATTS_BOOT;
+
+int fido2_ctap_init(void)
+{
+    int ret;
+
+    load_state(&g_state);
+
+    ret = fido2_ctap_crypto_init();
+
+    if (ret != CTAP2_OK) {
+        DEBUG("fido2_ctap: initialization failed \n");
+        return -1;
</pre>
<p>Sorry I don't quite understand. Are there general RIOT return codes for success and failure ?<br>
Maybe I am blind but I wasn't able to find anything like this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r662238000">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYGVXSGTWTOYTO63VWDTVRMJXANCNFSM45IUCTGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYAIAFKYDA5LTE2WVB3TVRMJXA5CNFSM45IUCTGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFGHAI4I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r662238000",
"url": "https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r662238000",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>