move tls1_3 max md size
It should be internal definition Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
d1ab262844
commit
88b756bacb
@ -74,10 +74,6 @@ typedef enum {
|
|||||||
#define MBEDTLS_MD_MAX_BLOCK_SIZE 64
|
#define MBEDTLS_MD_MAX_BLOCK_SIZE 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL)
|
|
||||||
#define MBEDTLS_TLS1_3_MD_MAX_SIZE MBEDTLS_MD_MAX_SIZE
|
|
||||||
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Opaque struct.
|
* Opaque struct.
|
||||||
*
|
*
|
||||||
|
@ -307,6 +307,10 @@
|
|||||||
+ ( MBEDTLS_SSL_CID_OUT_LEN_MAX ) )
|
+ ( MBEDTLS_SSL_CID_OUT_LEN_MAX ) )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL)
|
||||||
|
#define MBEDTLS_TLS1_3_MD_MAX_SIZE MBEDTLS_MD_MAX_SIZE
|
||||||
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
|
||||||
|
|
||||||
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
|
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
|
||||||
/**
|
/**
|
||||||
* \brief Return the maximum fragment length (payload, in bytes) for
|
* \brief Return the maximum fragment length (payload, in bytes) for
|
||||||
|
Loading…
Reference in New Issue
Block a user