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

Replace psa_pake_get_implicit_key() with psa_pake_get_shared_key() #9322

Open yanesca opened 3 months ago

yanesca commented 3 months ago

Suggested enhancement

Replace psa_pake_get_implicit_key() with psa_pake_get_shared_key(). The new function must be compliant with the standard: https://arm-software.github.io/psa-api/crypto/1.2/ext-pake/api/pake.html#c.psa_pake_get_shared_key

Justification

Mbed TLS needs this because the PSA Crypto API now has finalised the PAKE interface and we need to make this change to be compliant and to enable implementing new algorithms (like SPAKE2+).