Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bignum: Extract modular exponentiation from the prototype #6293

Closed
yanesca opened this issue Sep 16, 2022 · 1 comment
Closed

Bignum: Extract modular exponentiation from the prototype #6293

yanesca opened this issue Sep 16, 2022 · 1 comment
Assignees
Labels
component-crypto Crypto primitives and low-level interfaces enhancement size-m Estimated task size: medium (~1w)

Comments

@yanesca
Copy link
Contributor

yanesca commented Sep 16, 2022

Prerequisites: #6015

Extract mbedtls_mpi_core_exp_mod from the prototype:
https://github.com/hanno-arm/mbedtls/blob/ecp_prototype/library/bignum_core.c#L644-L757

Notable differences to the prototype:

The legacy API should reuse this function as usual. The algorithm has been changed in the prototype, reusing it needs more deliberation and care and has been moved to a separate issue: #6600

@yanesca yanesca added enhancement component-crypto Crypto primitives and low-level interfaces size-m Estimated task size: medium (~1w) labels Sep 16, 2022
@yanesca yanesca changed the title Extract modular multiplication from the prototype Extract modular exponentiation from the prototype Sep 16, 2022
@yanesca yanesca self-assigned this Sep 30, 2022
@tom-cosgrove-arm tom-cosgrove-arm changed the title Extract modular exponentiation from the prototype Bignum: Extract modular exponentiation from the prototype Oct 25, 2022
tom-cosgrove-arm added a commit to tom-cosgrove-arm/mbedtls that referenced this issue Dec 6, 2022
…g memory

Last PR needed for Mbed-TLS#6293

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
@tom-cosgrove-arm
Copy link
Contributor

Now complete following the merges of #6731 and #6733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-crypto Crypto primitives and low-level interfaces enhancement size-m Estimated task size: medium (~1w)
Projects
None yet
Development

No branches or pull requests

2 participants