Minor modifications after PR review

1. Move ChangLog entry to correct location
2. Move point formats outside the ECP_ALT check, as it's part of the RFC
This commit is contained in:
Ron Eldor 2018-04-09 15:51:19 +03:00
parent 810e650c70
commit bf027e736a
2 changed files with 7 additions and 7 deletions

View File

@ -54,6 +54,9 @@ Changes
Wilson #481 Wilson #481
* Improve the documentation of mbedtls_net_accept(). Contributed by Ivan * Improve the documentation of mbedtls_net_accept(). Contributed by Ivan
Krylov. Krylov.
* Put the Cryptographic API outside of the XXX_ALT macro check, so
alternative header file will not need to redefined the same API,
and to force alternative implementer to use the same API.
= mbed TLS 2.8.0 branch released 2018-03-16 = mbed TLS 2.8.0 branch released 2018-03-16
@ -135,9 +138,6 @@ Changes
* Clarify the documentation of mbedtls_ssl_setup. * Clarify the documentation of mbedtls_ssl_setup.
* Use (void) when defining functions with no parameters. Contributed by * Use (void) when defining functions with no parameters. Contributed by
Joris Aerts. #678 Joris Aerts. #678
* Put the Cryptographic API outside of the XXX_ALT macro check, so
alternative header file will not need to redefined the same API,
and to force alternative implementer to use the same API.
= mbed TLS 2.7.0 branch released 2018-02-03 = mbed TLS 2.7.0 branch released 2018-02-03

View File

@ -231,16 +231,16 @@ mbedtls_ecp_keypair;
/* \} name SECTION: Module settings */ /* \} name SECTION: Module settings */
#else /* MBEDTLS_ECP_ALT */
#include "ecp_alt.h"
#endif /* MBEDTLS_ECP_ALT */
/* /*
* Point formats, from RFC 4492's enum ECPointFormat * Point formats, from RFC 4492's enum ECPointFormat
*/ */
#define MBEDTLS_ECP_PF_UNCOMPRESSED 0 /**< Uncompressed point format */ #define MBEDTLS_ECP_PF_UNCOMPRESSED 0 /**< Uncompressed point format */
#define MBEDTLS_ECP_PF_COMPRESSED 1 /**< Compressed point format */ #define MBEDTLS_ECP_PF_COMPRESSED 1 /**< Compressed point format */
#else /* MBEDTLS_ECP_ALT */
#include "ecp_alt.h"
#endif /* MBEDTLS_ECP_ALT */
/* /*
* Some other constants from RFC 4492 * Some other constants from RFC 4492
*/ */