mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-10 08:59:05 +08:00
Adjust ssl_tls13_keys.c to consolidated CID/1.3 padding granularity
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
c0da10dc3a
commit
dfba065d80
@ -815,7 +815,7 @@ int mbedtls_ssl_tls13_populate_transform( mbedtls_ssl_transform *transform,
|
|||||||
* type-extended and padded plaintext is therefore the padding
|
* type-extended and padded plaintext is therefore the padding
|
||||||
* granularity. */
|
* granularity. */
|
||||||
transform->minlen =
|
transform->minlen =
|
||||||
transform->taglen + MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY;
|
transform->taglen + MBEDTLS_SSL_CID_TLS1_3_PADDING_GRANULARITY;
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user