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

How to implement a custom ECC-based mechanism #102

Closed
gilles-peskine-arm opened this issue May 29, 2024 · 1 comment
Closed

How to implement a custom ECC-based mechanism #102

gilles-peskine-arm opened this issue May 29, 2024 · 1 comment
Labels
enhancement New feature or request needs-design-approval Needs design discussion / approval

Comments

@gilles-peskine-arm
Copy link
Contributor

gilles-peskine-arm commented May 29, 2024

TF-PSA-Crypto 1.0 and Mbed TLS 4.0 will only support specific ECC-based mechanisms: ECDH, ECDSA, ECJPAKE (also planned in 4.x: EdDSA, SPAKE2+). Unlike Mbed TLS ≤3.5, there are no longer any public functions to do ECC arithmetic such as mbedtls_ecp_mul. Users who need a diffferent ECC mechanism (e.g. a new ECC-based PAKE) must contribute an implementation and wait for the next release.

Should TF-PSA-Crypto offer an ECC arithmetic API, allowing users to implement custom ECC mechanisms?

Mailing list thread: https://lists.trustedfirmware.org/archives/list/mbed-tls@lists.trustedfirmware.org/thread/NGVJ23DUM557WWBAE5JIQQ2U5DHXRBZ7/

@gilles-peskine-arm
Copy link
Contributor Author

Architectural decision: we are not going to provide an API for custom ECC mechanisms in TF-PSA-Crypto 1.0. We may add such a mechanism later based on demand.

@gilles-peskine-arm gilles-peskine-arm closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-design-approval Needs design discussion / approval
Projects
None yet
Development

No branches or pull requests

1 participant