forked from Mbed-TLS/mbedtls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make key export callback and context connection-specific
Fixes Mbed-TLS#2188 Signed-off-by: Hanno Becker <[email protected]>
- Loading branch information
Hanno Becker
committed
Jun 17, 2021
1 parent
ce54a6f
commit e10355c
Showing
6 changed files
with
81 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
API changes | ||
* mbedtls_ssl_conf_export_keys_ext_cb() has been removed. | ||
* mbedtls_ssl_conf_export_keys_ext_cb() and | ||
mbedtls_ssl_conf_export_keys_cb() have been removed | ||
and replaced by a new API | ||
mbedtls_ssl_set_export_keys_cb(). | ||
* The signature of key export callbacks configured via | ||
mbedtls_ssl_conf_export_keys_cb() has changed, and raw | ||
keys and IVs are no longer exported. Further, callbacks | ||
mbedtls_ssl_set_export_keys_cb() is different from that | ||
of the previous mbedtls_ssl_conf_export_keys_cb(): First, | ||
raw keys and IVs are no longer exported. Further, callbacks | ||
now receive an additional parameter indicating the type | ||
of secret that's being exported, paving the way for the | ||
larger number of secrets in TLS 1.3. | ||
larger number of secrets in TLS 1.3. Finally, the key export | ||
callback and context are now connection-specific. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters