We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f6851 commit ba1309fCopy full SHA for ba1309f
src/xmalloc_rsa.c
@@ -26,7 +26,14 @@
26
#include <stdint.h>
27
28
/* Allow one single sp_point to be allocated at one time */
29
+#ifdef WOLFBOOT_SIGN_RSA2048
30
#define SP_DIGIT_SIZE (1280)
31
+#endif
32
+
33
+#ifdef WOLFBOOT_SIGN_RSA4096
34
+#define SP_DIGIT_SIZE (3192)
35
36
37
static uint8_t sp_digit[SP_DIGIT_SIZE];
38
static int sp_digit_in_use = 0;
39
0 commit comments