Mbed-TLS / mbedtls

An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.
https://www.trustedfirmware.org/projects/mbed-tls/
Other
5.25k stars 2.56k forks source link

Support of sign/verify for Edwards curve (MBEDTLS_ECP_DP_CURVE25519) #2067

Closed meghaamity closed 6 years ago

meghaamity commented 6 years ago

Description

Enhancement\Feature Request

Edwards-Curve Digital Signature Algorithm for Curve25519. mbedtls_Ecdsa_verify returns error if Curve25519 is used. Which API to use for sign generation/verification

Suggested enhancement


Question

Please first check for answers in the Mbed TLS knowledge Base, and preferably file an issue in the Mbed TLS support forum

RonEld commented 6 years ago

@meghaamity Thank you for your query Mbed TLS does not support at the moment Edwards 25519 curve, for signing and verifying, hence the failure you are receiving.

Note that the Montgomery curve is used for ECDH, while Edwards is used for sign\verify.

meghaamity commented 6 years ago

I need Edwards sign\verify as per RFC 8032.It is not present as if now. By when will it be available?

RonEld commented 6 years ago

@meghaamity We don't publicly publish our roadmap, so unfortunately I can't update when and if it will be supported. We will take into consideration your requirements.

RonEld commented 6 years ago

Note that this is a duplicate of #388 hence closing this issue

meghaamity commented 6 years ago

Hello Ron,

388 issue is very old.Can you please consider this request as urgent.

Thanks a lot

zhang-wenchao commented 5 years ago

@RonEld Many people really need this feature, please consider support, thank you