RSA Accelerator: Add mod_exp, refactor to avoid memory allocation & copying

Not fully working at the moment, mod_exp has a bug.
This commit is contained in:
Angus Gratton
2016-09-20 21:24:58 +10:00
parent 6b3bc4d8c5
commit 9632c8e56c
4 changed files with 502 additions and 611 deletions

View File

@@ -141,6 +141,7 @@
//}}
#define DR_REG_DPORT_BASE 0x3ff00000
#define DR_REG_RSA_BASE 0x3ff02000
#define DR_REG_UART_BASE 0x3ff40000
#define DR_REG_SPI1_BASE 0x3ff42000
#define DR_REG_SPI0_BASE 0x3ff43000