Clarify requirements on handling ECP group IDs

This commit is contained in:
Janos Follath 2018-12-05 16:01:13 +00:00
parent b8f27060e0
commit c3b680b028

View File

@ -159,6 +159,10 @@ mbedtls_ecp_point;
* additions or subtractions. Therefore, it is only an approximative modular
* reduction. It must return 0 on success and non-zero on failure.
*
* \note Alternative implementations must keep the group IDs distinct. If
* two group structures have the same ID, then they must be
* identical.
*
*/
typedef struct mbedtls_ecp_group
{