1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-20 16:42:59 +03:00

Merge pull request #5428 from gstrauss/mbedtls_ssl_ciphersuite

Add accessors for ciphersuite info
This commit is contained in:
Manuel Pégourié-Gonnard
2022-01-24 11:13:31 +01:00
committed by GitHub
9 changed files with 79 additions and 5 deletions

View File

@ -3888,6 +3888,15 @@ size_t mbedtls_ssl_get_bytes_avail( const mbedtls_ssl_context *ssl );
*/
uint32_t mbedtls_ssl_get_verify_result( const mbedtls_ssl_context *ssl );
/**
* \brief Return the id of the current ciphersuite
*
* \param ssl SSL context
*
* \return a ciphersuite id
*/
int mbedtls_ssl_get_ciphersuite_id_from_ssl( const mbedtls_ssl_context *ssl );
/**
* \brief Return the name of the current ciphersuite
*