Ssl handshake protocol initialization – Zilog EZ80F91AZA User Manual
Page 28
UM020107-1211
SSL Configuration
ZTP Network Security SSL Plug-In
User Manual
22
The code fragment that follows shows an example of how to initialize the SSL interface:
{
SSL_STATUS Status;
Status = SSL_Initialize();
}
SSL Handshake Protocol Initialization
After calling the
Initialize_SSL
API, at least one of the SSL handshake protocols
must be initialized. The ZTP Network Security SSL Plug-In is capable of supporting the
following SSL protocols:
•
SSL version 2 Client
•
SSL version 2 Server
•
SSL version 3 Client
•
SSL version 3 Server
•
TLS version 1 Client
•
TLS version 1 Server
It is permissible to initialize one, two, or all six of these handshake protocols, but SSL will
not function unless any one protocol is initialized.
To disable support for a particular handshake protocol, do not call its corresponding ini-
tialization function. Such a call will prevent the ZDS II linker from including code for that
particular handshake protocol in the final application image.
Table 4 shows the relationship between the SSL handshake protocols and their initializa-
tion functions.
Table 4. SSL Handshake Protocol Functions
SSL Handshake Protocol
Initialization Function
SSL version 2 Client
SSL2_ClientInit
SSL version 2 Server
SSL2_ServerInit
SSL version 3 Client
SSL3_ClientInit
SSL version 3 Server
SSL3_ServerInit
TLS version 1 Client
TLS1_ClientInit
TLS version 1 Server
TLS1_ServerInit