mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-02-03 00:59:25 +00:00
Fix haders.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
08d4dc58aa
commit
6163b870ed
1 changed files with 4 additions and 1 deletions
|
|
@ -28,6 +28,9 @@
|
|||
#include "kek.h"
|
||||
#include "mbedtls/hkdf.h"
|
||||
#include "mbedtls/chachapoly.h"
|
||||
#ifdef PICO_RP2350
|
||||
#include "otp.h"
|
||||
#endif
|
||||
|
||||
#define CMD_DATETIME 0xA
|
||||
#define CMD_DYNOPS 0x6
|
||||
|
|
@ -251,7 +254,7 @@ int cmd_extras() {
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#if RP2350
|
||||
#if PICO_RP2350
|
||||
else if (P1(apdu) == CMD_OTP) {
|
||||
if (apdu.nc < 2) {
|
||||
return SW_WRONG_LENGTH();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue