Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
tls/tls-state.h
- Committer:
- andrewboyson
- Date:
- 2019-08-20
- Revision:
- 4:6a1d887f1cad
- Parent:
- 2:82268409e83f
File content as of revision 4:6a1d887f1cad:
#include "sha256.h"
#define DO_WAIT_CLIENT_HELLO 0
#define DO_SEND_SERVER_HELLO 1
#define DO_WAIT_CLIENT_CHANGE 2
#define DO_WAIT_DECRYPT_MASTER_SECRET 3
#define DO_SEND_SERVER_CHANGE 4
#define DO_APPLICATION 5
#define DO_SEND_ALERT_ILLEGAL_PARAMETER 6
#define DO_SEND_ALERT_INTERNAL_ERROR 7
struct TlsState
{
int toDo;
int session;
struct Sha256State handshakeHash;
};