Skip to content

Commit

Permalink
downgrade littlefs and fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dangfan committed Oct 12, 2023
1 parent 3653230 commit 7e48c17
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion canokey-crypto
Submodule canokey-crypto updated 2 files
+2 −2 include/rsa.h
+4 −2 src/rsa.c
1 change: 1 addition & 0 deletions include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#define HI(x) ((uint8_t)(((x)&0xFF00) >> 8))
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#define SWAP(x, y, T) do { T SWAP = x; x = y; y = SWAP; } while (0)

#define UNUSED(x) ((void)(x))
#define __weak __attribute__((weak))
Expand Down
2 changes: 1 addition & 1 deletion littlefs
1 change: 0 additions & 1 deletion src/key.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "memzero.h"
#include <common.h>
#include <key.h>
#include <memory.h>

#define KEY_META_ATTR 0xFF
#define CEIL_DIV_SQRT2 0xB504F334
Expand Down

0 comments on commit 7e48c17

Please sign in to comment.