Whitespace, logging and documentation fixes
Introduce a psa_status_t status to handle return values. Add a debug message with API usage description.
This commit is contained in:
parent
d6db9be598
commit
814feffd15
2 changed files with 23 additions and 13 deletions
|
@ -765,7 +765,7 @@ int mbedtls_ssl_get_key_exchange_md_ssl_tls( mbedtls_ssl_context *ssl,
|
|||
|
||||
#if defined(MBEDTLS_SSL_PROTO_TLS1) || defined(MBEDTLS_SSL_PROTO_TLS1_1) || \
|
||||
defined(MBEDTLS_SSL_PROTO_TLS1_2)
|
||||
// The hash buffer must have at least MBEDTLS_MD_MAX_SIZE bytes of length.
|
||||
/* The hash buffer must have at least MBEDTLS_MD_MAX_SIZE bytes of length. */
|
||||
int mbedtls_ssl_get_key_exchange_md_tls1_2( mbedtls_ssl_context *ssl,
|
||||
unsigned char *hash, size_t *hashlen,
|
||||
unsigned char *data, size_t data_len,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue