A simple library to support serving https.
Dependents: oldheating gps motorhome heating
tls/tls-prf.h@24:cb43290fc439, 2020-04-01 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed Apr 01 12:48:52 2020 +0000
- Revision:
- 24:cb43290fc439
- Parent:
- 19:f22327e8be7b
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?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 9:f354b4859b0b | 1 | #include <stdint.h> |
andrewboyson | 9:f354b4859b0b | 2 | |
andrewboyson | 17:93feb2a51d58 | 3 | extern void TlsPrfMasterSecret (uint8_t * preMasterSecret, uint8_t* clientRandom, uint8_t* serverRandom, uint8_t* masterSecret); |
andrewboyson | 9:f354b4859b0b | 4 | |
andrewboyson | 19:f22327e8be7b | 5 | extern void TlsPrfKeysAes128Sha1(uint8_t * masterSecret, uint8_t* clientRandom, uint8_t* serverRandom, uint8_t* client_MAC_key, |
andrewboyson | 17:93feb2a51d58 | 6 | uint8_t* server_MAC_key, |
andrewboyson | 17:93feb2a51d58 | 7 | uint8_t* client_key, |
andrewboyson | 17:93feb2a51d58 | 8 | uint8_t* server_key); |
andrewboyson | 9:f354b4859b0b | 9 | |
andrewboyson | 17:93feb2a51d58 | 10 | extern void TlsPrfServerFinished(uint8_t * masterSecret, uint8_t* handshakeHash, uint8_t* verify); |
andrewboyson | 17:93feb2a51d58 | 11 | extern void TlsPrfClientFinished(uint8_t * masterSecret, uint8_t* handshakeHash, uint8_t* verify); |