A simple library to support serving https.
Dependents: oldheating gps motorhome heating
rsa/rsa.h@10:e269fd7b9500, 2019-09-24 (annotated)
- Committer:
- andrewboyson
- Date:
- Tue Sep 24 18:11:02 2019 +0000
- Revision:
- 10:e269fd7b9500
- Child:
- 12:2c342345b3db
Got padlock and some application data through. Now need to use China remainder theorem to speed up decryption and things up and the session id to avoid having to do the decryption.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 10:e269fd7b9500 | 1 | #include <stdint.h> |
andrewboyson | 10:e269fd7b9500 | 2 | #include <stdbool.h> |
andrewboyson | 10:e269fd7b9500 | 3 | |
andrewboyson | 10:e269fd7b9500 | 4 | extern void RsaSlowMain(void); |
andrewboyson | 10:e269fd7b9500 | 5 | extern void RsaSlowInit(void); |
andrewboyson | 10:e269fd7b9500 | 6 | |
andrewboyson | 10:e269fd7b9500 | 7 | extern int RsaSlowStart(uint32_t* message, uint32_t* exponent, uint32_t* modulus); |
andrewboyson | 10:e269fd7b9500 | 8 | |
andrewboyson | 10:e269fd7b9500 | 9 | extern bool RsaSlowFinished(int slot); |
andrewboyson | 10:e269fd7b9500 | 10 | extern uint32_t* RsaSlowResult (int slot); |
andrewboyson | 10:e269fd7b9500 | 11 | extern void RsaSlowClear (int slot); |
andrewboyson | 10:e269fd7b9500 | 12 | |
andrewboyson | 10:e269fd7b9500 | 13 | |
andrewboyson | 10:e269fd7b9500 | 14 | extern void RsaFastMain(void); |
andrewboyson | 10:e269fd7b9500 | 15 | extern void RsaFastInit(void); |
andrewboyson | 10:e269fd7b9500 | 16 | |
andrewboyson | 10:e269fd7b9500 | 17 | extern int RsaFastStart(uint32_t* message, uint32_t* exponent, uint32_t* modulus); |
andrewboyson | 10:e269fd7b9500 | 18 | |
andrewboyson | 10:e269fd7b9500 | 19 | extern bool RsaFastFinished(int slot); |
andrewboyson | 10:e269fd7b9500 | 20 | extern uint32_t* RsaFastResult (int slot); |
andrewboyson | 10:e269fd7b9500 | 21 | extern void RsaFastClear (int slot); |