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

Nils Ollrogge notifications at github.com
Wed Jul 21 18:47:53 CEST 2021

@Ollrogge commented on this pull request.

> +#include "uECC.h"
+#include "tiny-asn1.h"
+#include "fido2/ctap/ctap_crypto.h"
+#include "fido2/ctap/ctap_status.h"
+#include "fido2/ctap/ctap_utils.h"
+static ctap_crypto_key_agreement_key_t g_ag_key;
+static int sig_to_der_format(uint8_t *r, uint8_t *s, uint8_t *sig,
+                             size_t *sig_len);
+static int RNG(uint8_t *dest, size_t size);
+int fido2_ctap_crypto_init(void)
+    uECC_set_rng(&RNG);

uECC_set_rng expects a function with signature `int (*uECC_RNG_Function)(uint8_t *dest, unsigned size);`. `void fido2_ctap_crypto_prng(uint8_t *buf, size_t size)` returns void. 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210721/fb8aba78/attachment-0001.htm>

More information about the notifications mailing list