Merge pull request #6079 from yuhaoth/pr/add-tls13-parse-pre_shared_key_offered_psks

TLS 1.3: PSK: Add parser/writer of pre_shared_key extension on server side.
This commit is contained in:
Ronald Cron 2022-07-23 08:50:45 +02:00 committed by GitHub
commit 340c559cb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 543 additions and 40 deletions

View file

@ -250,6 +250,8 @@
( MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL | \
MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL ) /*!< All ephemeral TLS 1.3 key exchanges */
#define MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_NONE ( 0 )
/*
* Various constants
*/