mirror of
https://github.com/polhenarejos/pico-fido.git
synced 2024-09-20 03:10:10 +00:00
Compare commits
3 Commits
d5fe405a87
...
f21e203093
Author | SHA1 | Date | |
---|---|---|---|
|
f21e203093 | ||
|
e96da09a84 | ||
|
6fe16a63e4 |
@ -1 +1 @@
|
||||
Subproject commit 88071e117222bbc3ab018bc45f6d691a4fcf78f3
|
||||
Subproject commit f4ad8e1af2e2657f3900f1e01db031d7d73d623b
|
@ -215,7 +215,8 @@ int verify_key(const uint8_t *appId, const uint8_t *keyHandle, mbedtls_ecdsa_con
|
||||
}
|
||||
}
|
||||
uint8_t hmac[32], d[32];
|
||||
int ret = mbedtls_ecp_write_key(key, d, sizeof(d));
|
||||
size_t olen = 0;
|
||||
int ret = mbedtls_ecp_write_key_ext(key, &olen, d, sizeof(d));
|
||||
if (key == NULL) {
|
||||
mbedtls_ecdsa_free(&ctx);
|
||||
}
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "version.h"
|
||||
#include "asn1.h"
|
||||
#include "hid/ctap_hid.h"
|
||||
#include "usb.h"
|
||||
#ifndef ENABLE_EMULATION
|
||||
#include "bsp/board.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user