Commit graph

  • 8745c22268 Use flash key defines/constants when writing to flash master Imbus 2025-02-18 00:34:48 +01:00
  • bfcbb77570 Remove junk, add testing and assertions Imbus 2025-02-14 06:20:41 +01:00
  • 7d20e7f009 Define public exponent in header Imbus 2025-02-14 06:10:06 +01:00
  • e1ece2358f Better comments in rsa Imbus 2025-02-14 06:09:54 +01:00
  • 70dcda61e8 Fix naming Imbus 2025-02-14 06:09:25 +01:00
  • 8ff7937a88 Track a specific commit Imbus 2025-02-14 04:13:58 +01:00
  • 557c06ca22 Some testing Imbus 2025-02-14 04:13:33 +01:00
  • 52857830ac Assert file Imbus 2025-02-14 04:13:23 +01:00
  • 120a61eca7 Type aliases Imbus 2025-02-14 04:07:40 +01:00
  • 2bad1303dc Type aliases for RSA related functionality Imbus 2025-02-14 04:07:03 +01:00
  • 6b64e0c18b Hardcode broken parameters for now Imbus 2025-02-13 01:16:52 +01:00
  • 563778716c Defalt initialize q to p, e to 0. The following loop will properly assign them. Imbus 2025-02-13 00:38:24 +01:00
  • e6e63f2d32 Seed PRNG at the top of main. Remove redundant printf Imbus 2025-02-13 00:37:32 +01:00
  • 31611dc9dc Remove redundant define Imbus 2025-02-13 00:36:54 +01:00
  • b16c3b098a Safe mulmod, used in modexp and friends Imbus 2025-02-13 00:35:52 +01:00
  • 50e640ea84 Seed saving to flash with regular intervals Imbus 2025-02-13 00:35:28 +01:00
  • 344975bd8a Working RSA, untested Imbus 2025-02-12 23:06:19 +01:00
  • 32c54d892f Separate distclean and clean, link target Imbus 2025-02-12 23:05:40 +01:00
  • f7040d4300 Using 64 bit integers Imbus 2025-02-12 23:04:32 +01:00
  • 62439387e5 Extended euclidean algorithm using recursion Imbus 2025-02-12 20:51:51 +01:00
  • 2c7904d2b3 Miller-rabin primality test for orders of magnitude lower computational complexity Imbus 2025-02-12 20:37:45 +01:00
  • 28209ca70e Formatting fixes Imbus 2025-02-12 19:58:58 +01:00
  • 24922e59c6 RSA crypto initial draft Imbus 2025-02-12 19:48:32 +01:00
  • 1cd0b619ef Psuedo random number gen Imbus 2025-02-12 19:47:19 +01:00
  • 40ae617b22 Rename output elf to output Imbus 2025-02-12 19:46:37 +01:00
  • 0f1952296e Ignore Imbus 2025-02-12 19:46:19 +01:00
  • c3a4c64a00 Use correct compiler Imbus 2025-02-12 15:39:46 +01:00
  • c8bf60cada Now fetching libgcc.a from upstream properly Imbus 2025-02-12 15:37:45 +01:00
  • e0d4a112c0 Rename blink.c to main.c Imbus 2025-02-10 18:54:17 +01:00
  • 973e3bbd28 Reduce initial example code to bare minimum Imbus 2025-02-09 17:44:25 +01:00
  • 48ef6cc258 Refactor makefile a bit Imbus 2025-02-09 17:44:13 +01:00
  • cc0eac299e Clang format Imbus 2025-02-09 17:44:00 +01:00
  • cda4287171 Split gcc linker-script-extraction line into several Imbus 2025-02-09 16:06:40 +01:00
  • 27a1bfcf75 Ignorefile Imbus 2025-02-09 15:53:29 +01:00
  • 42e642ddfb Make flash target depend on binary, add flash2 (wlink) target Imbus 2025-02-09 15:51:16 +01:00
  • 9b30ef6db6 Break out flag variables into multiple lines Imbus 2025-02-09 15:50:52 +01:00
  • 2d06c48a04 Restructure Imbus 2025-02-09 15:41:31 +01:00
  • 2b51711e0e TLS Imbus 2025-02-09 15:40:33 +01:00
  • 8b34c6b1cd Working Imbus 2025-02-09 15:12:27 +01:00