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:
17:93feb2a51d58
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 0:be515c9019e3 1 #include <stdbool.h>
andrewboyson 0:be515c9019e3 2
andrewboyson 17:93feb2a51d58 3 extern int PriKeyDecryptStart (uint8_t* message); //Returns the slot
andrewboyson 17:93feb2a51d58 4 extern bool PriKeyDecryptFinished (int slot);
andrewboyson 17:93feb2a51d58 5 extern uint8_t* PriKeyDecryptResultLittleEndian(int slot);
andrewboyson 17:93feb2a51d58 6 extern void PriKeyDecryptResultTail (int slot, int length, uint8_t* pBuffer);
andrewboyson 17:93feb2a51d58 7 extern void PriKeyDecryptClear (int slot);
andrewboyson 12:2c342345b3db 8
andrewboyson 17:93feb2a51d58 9 extern void PriKeyInit(void);