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

Replace or remove restartable ECP in ssl_client2.c #9974

Open
davidhorstmann-arm opened this issue Feb 12, 2025 · 0 comments
Open

Replace or remove restartable ECP in ssl_client2.c #9974

davidhorstmann-arm opened this issue Feb 12, 2025 · 0 comments
Labels
size-s Estimated task size: small (~2d)

Comments

@davidhorstmann-arm
Copy link
Contributor

Part of implementing #9904

The program ssl_client2.c uses only a single function from the legacy crypto API

#if defined(MBEDTLS_ECP_RESTARTABLE)
    if (opt.ec_max_ops != DFL_EC_MAX_OPS) {
        mbedtls_ecp_set_max_ops(opt.ec_max_ops);
    }
#endif

This configures the legacy restartable ECP interface.

This task consists of:

  • Figuring out whether this legacy call can be replaced with a PSA call
  • If it can, replace with PSA
  • If it can't, remove the ec_max_ops option from ssl_client2

This task is done when ssl_client2 no longer calls mbedtls_ecp_set_max_ops() (or any other legacy function).

Estimate: 3 Ideal Engineering Hours

@davidhorstmann-arm davidhorstmann-arm added the size-s Estimated task size: small (~2d) label Feb 12, 2025
@davidhorstmann-arm davidhorstmann-arm moved this to Implementation needed in Mbed TLS 4.0 planning Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size-s Estimated task size: small (~2d)
Projects
Status: Implementation needed
Development

No branches or pull requests

1 participant