mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-06 12:40:02 +00:00
Merge pull request #8433 from yuhaoth/pr/add-deprecated-flag-for-sig_hashes-api
Add deprecated flag in document for sig_hashes
This commit is contained in:
commit
eeb96ac9fe
@ -3756,6 +3756,8 @@ void mbedtls_ssl_conf_groups(mbedtls_ssl_config *conf,
|
|||||||
* used for certificate signature are controlled by the
|
* used for certificate signature are controlled by the
|
||||||
* verification profile, see \c mbedtls_ssl_conf_cert_profile().
|
* verification profile, see \c mbedtls_ssl_conf_cert_profile().
|
||||||
*
|
*
|
||||||
|
* \deprecated Superseded by mbedtls_ssl_conf_sig_algs().
|
||||||
|
*
|
||||||
* \note This list should be ordered by decreasing preference
|
* \note This list should be ordered by decreasing preference
|
||||||
* (preferred hash first).
|
* (preferred hash first).
|
||||||
*
|
*
|
||||||
@ -3780,13 +3782,16 @@ void MBEDTLS_DEPRECATED mbedtls_ssl_conf_sig_hashes(mbedtls_ssl_config *conf,
|
|||||||
#endif /* !MBEDTLS_DEPRECATED_REMOVED && MBEDTLS_SSL_PROTO_TLS1_2 */
|
#endif /* !MBEDTLS_DEPRECATED_REMOVED && MBEDTLS_SSL_PROTO_TLS1_2 */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Configure allowed signature algorithms for use in TLS 1.3
|
* \brief Configure allowed signature algorithms for use in TLS
|
||||||
*
|
*
|
||||||
* \param conf The SSL configuration to use.
|
* \param conf The SSL configuration to use.
|
||||||
* \param sig_algs List of allowed IANA values for TLS 1.3 signature algorithms,
|
* \param sig_algs List of allowed IANA values for TLS 1.3 signature algorithms,
|
||||||
* terminated by \c MBEDTLS_TLS1_3_SIG_NONE. The list must remain
|
* terminated by #MBEDTLS_TLS1_3_SIG_NONE. The list must remain
|
||||||
* available throughout the lifetime of the conf object. Supported
|
* available throughout the lifetime of the conf object.
|
||||||
* values are available as \c MBEDTLS_TLS1_3_SIG_XXXX
|
* - For TLS 1.3, values of \c MBEDTLS_TLS1_3_SIG_XXXX should be
|
||||||
|
* used.
|
||||||
|
* - For TLS 1.2, values should be given as
|
||||||
|
* "(HashAlgorithm << 8) | SignatureAlgorithm".
|
||||||
*/
|
*/
|
||||||
void mbedtls_ssl_conf_sig_algs(mbedtls_ssl_config *conf,
|
void mbedtls_ssl_conf_sig_algs(mbedtls_ssl_config *conf,
|
||||||
const uint16_t *sig_algs);
|
const uint16_t *sig_algs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user