A simple library to support serving https.
Dependents: oldheating gps motorhome heating
tls/tls-prf.h@17:93feb2a51d58, 2019-10-10 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Oct 10 07:38:13 2019 +0000
- Revision:
- 17:93feb2a51d58
- Parent:
- 9:f354b4859b0b
- Child:
- 19:f22327e8be7b
Defined a lot of lengths eg 20 -> SHA1_HASH_LENGTH
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 | 17:93feb2a51d58 | 5 | extern void TlsPrfKeys (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); |