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

@ -231,16 +231,16 @@ mbedtls_ecp_keypair;
/* \} name SECTION: Module settings */
#else /* MBEDTLS_ECP_ALT */
#include "ecp_alt.h"
#endif /* MBEDTLS_ECP_ALT */
/*
* Point formats, from RFC 4492's enum ECPointFormat
*/
#define MBEDTLS_ECP_PF_UNCOMPRESSED 0 /**< Uncompressed 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
*/