A simple library to support serving https.
Dependents: oldheating gps motorhome heating
Diff: rsa/rsa.h
- Revision:
- 12:2c342345b3db
- Parent:
- 10:e269fd7b9500
- Child:
- 14:03a0b8fd6ddc
diff -r 72b30622cacb -r 2c342345b3db rsa/rsa.h --- a/rsa/rsa.h Tue Sep 24 18:14:33 2019 +0000 +++ b/rsa/rsa.h Thu Sep 26 07:19:09 2019 +0000 @@ -1,6 +1,9 @@ #include <stdint.h> #include <stdbool.h> +extern void RsaMain(void); +extern void RsaInit(void); + extern void RsaSlowMain(void); extern void RsaSlowInit(void); @@ -14,7 +17,7 @@ extern void RsaFastMain(void); extern void RsaFastInit(void); -extern int RsaFastStart(uint32_t* message, uint32_t* exponent, uint32_t* modulus); +extern int RsaFastStart(uint32_t* message, uint32_t* p, uint32_t* q, uint32_t* dp, uint32_t* dq, uint32_t* qi); extern bool RsaFastFinished(int slot); extern uint32_t* RsaFastResult (int slot);