#include "uart_i.h"
#include "debug.h"
-#include "noekeon/noekeon.h"
-#include "noekeon/noekeon_prng.h"
-#include "bigint/bigint.h"
-#include "bigint/bigint_io.h"
+#include "noekeon.h"
+#include "noekeon_prng.h"
+#include "bigint.h"
+#include "bigint_io.h"
#include "rsa.h"
#include "rsa_key_blob.h"
rsa_print_item(&(ctx->privexp), PSTR("private exponent"));
}
-uint8_t testmsg[128] PROGMEM = {
+const uint8_t testmsg[128] PROGMEM = {
0x25, 0x11, 0x1e, 0x08, 0x1c, 0x72, 0x57, 0xbf,
0x46, 0xbb, 0x56, 0xe8, 0x0b, 0x24, 0x0d, 0x72,
0x77, 0x11, 0x12, 0x10, 0xec, 0xb9, 0xe4, 0x6f,
bigint_t m,c,m_;
uint8_t mw[rsa_ctx.modulus.length_B], cw[rsa_ctx.modulus.length_B], m_w[rsa_ctx.modulus.length_B];
- uint8_t i;
print_rsa_ctx(&rsa_ctx);
m.wordv = mw;
const char performance_str[] PROGMEM = "performance";
const char echo_str[] PROGMEM = "echo";
-cmdlist_entry_t cmdlist[] PROGMEM = {
+const cmdlist_entry_t cmdlist[] PROGMEM = {
{ reset_prng_str, NULL, reset_prng },
{ quick_test_str, NULL, quick_test },
{ performance_str, NULL, testrun_performance_bigint },