beautypg.com

Zilog EZ80F91AZA User Manual

Page 76

background image

UM020107-1211

70

ZTP Network Security SSL Plug-In
User Manual

This mnemonic indicates that RSA will be used for authentication and key exchange;
128-bit AES will be used as the symmetric cipher, and MD5 will be used as the digest
algorithm. Therefore, add the following definition to the

CipherSuite.h

header file:

#define PRIVATE_RSA_WITH_AES_128_CBC_MD5 0x11FF

2. A new entry must be created in the cipher suite table for each of the SSL handshake

protocols in which this cipher suite must be supported. The definition of the cipher
suite entry is shown in the following code fragment:

{

PRIVATE_RSA_WITH_AES_128_CBC_MD5,

SSL_PKI_RSA,

SSL_CIPHER_AES,

SSL_HASH_MD5,

FALSE,

AES_128_KEY_SIZE_BYTES,

AES_IV_SIZE_BYTES,

MD5_HASH_SIZE_BYTES,

TRUE

},

For the cipher suite to take effect, it is necessary to rebuild the project. To give this
cipher suite preference, place it immediately after the definition of the NULL cipher
suite. Alternatively, all other cipher suites in the table can be removed or can be dis-
abled by setting the last entry in the other cipher suites to FALSE. For more informa-
tion about this topic, see the

Cipher Suite Configuration

section on page 31.

This manual is related to the following products: