ssl_tls13_keys.h: use PSA max hash size
Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
da6452578f
commit
ab9b9d4669
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ extern const struct mbedtls_ssl_tls13_labels_struct mbedtls_ssl_tls13_labels;
|
||||||
* Since contexts are always hashes of message transcripts, this can
|
* Since contexts are always hashes of message transcripts, this can
|
||||||
* be approximated from above by the maximum hash size. */
|
* be approximated from above by the maximum hash size. */
|
||||||
#define MBEDTLS_SSL_TLS1_3_KEY_SCHEDULE_MAX_CONTEXT_LEN \
|
#define MBEDTLS_SSL_TLS1_3_KEY_SCHEDULE_MAX_CONTEXT_LEN \
|
||||||
MBEDTLS_MD_MAX_SIZE
|
PSA_HASH_MAX_SIZE
|
||||||
|
|
||||||
/* Maximum desired length for expanded key material generated
|
/* Maximum desired length for expanded key material generated
|
||||||
* by HKDF-Expand-Label.
|
* by HKDF-Expand-Label.
|
||||||
|
|
Loading…
Reference in a new issue