A simple library to support serving https.
Dependents: oldheating gps motorhome heating
tls/tls-prf.h
- Committer:
- andrewboyson
- Date:
- 2019-09-11
- Revision:
- 9:f354b4859b0b
- Child:
- 17:93feb2a51d58
File content as of revision 9:f354b4859b0b:
#include <stdint.h> extern void TlsPrfMasterSecret (uint8_t * preMasterSecret, uint8_t* clientRandom, uint8_t* serverRandom, uint8_t* output48); extern void TlsPrfKeys (uint8_t * masterSecret, uint8_t* clientRandom, uint8_t* serverRandom, uint8_t* client_MAC_key_20, uint8_t* server_MAC_key_20, uint8_t* client_key_16, uint8_t* server_key_16); extern void TlsPrfServerFinished(uint8_t * masterSecret, uint8_t* handshakeHash, uint8_t* output12); extern void TlsPrfClientFinished(uint8_t * masterSecret, uint8_t* handshakeHash, uint8_t* output12);