forked from Mbed-TLS/mbedtls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more generic functions to test/set an ECP point to zero
Add mbedtls_ecp_set_zero_ext() and mbedtls_ecp_is_zero_ext() functions which takes the ECP group as first argument, so that the functions can handle all curve types, and especially Edwards curves. Deprecated the old mbedtls_ecp_set_zero() and mbedtls_ecp_is_zero() functions. Suggested during the initial EdDSA PR review: Mbed-TLS#3245 (comment) Signed-off-by: Aurelien Jarno <[email protected]>
- Loading branch information
Showing
9 changed files
with
143 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
API changes | ||
* New functions mbedtls_ecp_set_zero_ext() and mbedtls_ecp_is_zero_ext() | ||
working on all ECP curves. | ||
|
||
New deprecations | ||
* Deprecate mbedtls_ecp_set_zero() and mbedtls_ecp_is_zero() in favor of the | ||
mbedtls_ecp_set_zero_ext() and mbedtls_ecp_is_zero_ext() functions which | ||
work on all ECP curves. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters