A simple library to support serving https.

Dependents:   oldheating gps motorhome heating

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?

UserRevisionLine numberNew contents of line
andrewboyson 10:e269fd7b9500 1 #include "rsa.h"
andrewboyson 10:e269fd7b9500 2 #include "tls.h"
andrewboyson 10:e269fd7b9500 3 #include "ser-cer.h"
andrewboyson 10:e269fd7b9500 4 #include "pri-key.h"
andrewboyson 10:e269fd7b9500 5 #include "led.h"
andrewboyson 10:e269fd7b9500 6
andrewboyson 10:e269fd7b9500 7 void CryptoInit()
andrewboyson 10:e269fd7b9500 8 {
andrewboyson 10:e269fd7b9500 9 RsaSlowInit();
andrewboyson 10:e269fd7b9500 10 TlsInit();
andrewboyson 10:e269fd7b9500 11 SerCerInit();
andrewboyson 10:e269fd7b9500 12 PriKeyInit();
andrewboyson 10:e269fd7b9500 13 }
andrewboyson 10:e269fd7b9500 14 void CryptoMain()
andrewboyson 10:e269fd7b9500 15 {
andrewboyson 10:e269fd7b9500 16 RsaSlowMain();
andrewboyson 10:e269fd7b9500 17 TlsMain();
andrewboyson 10:e269fd7b9500 18 }