Skip to content

MBEDTLS_ECDSA_DETERMINISTIC in a PSA world #9165

@gilles-peskine-arm

Description

@gilles-peskine-arm

This issue is about the fate of MBEDTLS_ECDSA_DETERMINISTIC in TF-PSA-Crypto 1.0 and Mbed TLS 4.0.

In Mbed TLS ≤3.x, this option controls which variant of ECDSA signature is performed. This affects the PK, X.509 and TLS code. In a PSA-only world, the crypto API is not affected, since the caller explicitly chooses between PSA_WANT_ALG_ECDSA and PSA_WANT_ALG_DETERMINISTIC_ECDSA. But in code that just knows that it wants to perform an ECDSA signature (mbedtls_pk_sign, x509 write, TLS ECDSA cipher suites), should we have a user option to select the ECDSA variant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-breakThis issue/PR breaks the API and must wait for a new major versioncomponent-cryptoCrypto primitives and low-level interfacescomponent-tlscomponent-x509size-sEstimated task size: small (~2d)

    Type

    No type

    Projects

    Status

    Done

    Status

    Mbed TLS 4.0 MUST

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions