Make PSK_LEN configurable and adjust PMS size
This commit is contained in:
parent
cc10f4ddfe
commit
481fcfde93
6 changed files with 43 additions and 16 deletions
|
@ -233,6 +233,7 @@ extern "C" {
|
|||
#define TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 0xC0AE /**< TLS 1.2 */
|
||||
#define TLS_ECDHE_ECDSA_WITH_AES_256_CCM_8 0xC0AF /**< TLS 1.2 */
|
||||
|
||||
/* Reminder: update _ssl_premaster_secret when adding a new key exchange */
|
||||
typedef enum {
|
||||
POLARSSL_KEY_EXCHANGE_NONE = 0,
|
||||
POLARSSL_KEY_EXCHANGE_RSA,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue