A simple library to support serving https.

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Thu Sep 26 07:19:09 2019 +0000
Revision:
12:2c342345b3db
Parent:
10:e269fd7b9500
Child:
14:03a0b8fd6ddc
Chinese remainder theorem implemented giving a useful reduction from 20s to 5s to decrypt RSA.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 10:e269fd7b9500 1 #include <stdint.h>
andrewboyson 10:e269fd7b9500 2 #include <stdbool.h>
andrewboyson 10:e269fd7b9500 3
andrewboyson 12:2c342345b3db 4 extern void RsaMain(void);
andrewboyson 12:2c342345b3db 5 extern void RsaInit(void);
andrewboyson 12:2c342345b3db 6
andrewboyson 10:e269fd7b9500 7 extern void RsaSlowMain(void);
andrewboyson 10:e269fd7b9500 8 extern void RsaSlowInit(void);
andrewboyson 10:e269fd7b9500 9
andrewboyson 10:e269fd7b9500 10 extern int RsaSlowStart(uint32_t* message, uint32_t* exponent, uint32_t* modulus);
andrewboyson 10:e269fd7b9500 11
andrewboyson 10:e269fd7b9500 12 extern bool RsaSlowFinished(int slot);
andrewboyson 10:e269fd7b9500 13 extern uint32_t* RsaSlowResult (int slot);
andrewboyson 10:e269fd7b9500 14 extern void RsaSlowClear (int slot);
andrewboyson 10:e269fd7b9500 15
andrewboyson 10:e269fd7b9500 16
andrewboyson 10:e269fd7b9500 17 extern void RsaFastMain(void);
andrewboyson 10:e269fd7b9500 18 extern void RsaFastInit(void);
andrewboyson 10:e269fd7b9500 19
andrewboyson 12:2c342345b3db 20 extern int RsaFastStart(uint32_t* message, uint32_t* p, uint32_t* q, uint32_t* dp, uint32_t* dq, uint32_t* qi);
andrewboyson 10:e269fd7b9500 21
andrewboyson 10:e269fd7b9500 22 extern bool RsaFastFinished(int slot);
andrewboyson 10:e269fd7b9500 23 extern uint32_t* RsaFastResult (int slot);
andrewboyson 10:e269fd7b9500 24 extern void RsaFastClear (int slot);