A simple library to support serving https.

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Wed Apr 01 12:48:52 2020 +0000
Revision:
24:cb43290fc439
Parent:
12:2c342345b3db
Added check so that if the client closes the TCP connection before the TLS connection is established then respond that we have finished and the TCP connection is to be closed.

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 12:2c342345b3db 9 RsaInit();
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 12:2c342345b3db 16 RsaMain();
andrewboyson 10:e269fd7b9500 17 TlsMain();
andrewboyson 10:e269fd7b9500 18 }