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

Add public getter APIs for mbedtls_ecp_curve_info #5018

Closed
gabor-mezei-arm opened this issue Oct 5, 2021 · 1 comment
Closed

Add public getter APIs for mbedtls_ecp_curve_info #5018

gabor-mezei-arm opened this issue Oct 5, 2021 · 1 comment
Labels
component-crypto Crypto primitives and low-level interfaces enhancement

Comments

@gabor-mezei-arm
Copy link
Contributor

As part of #4683, as a result of reviewing the programs there are uses of MBEDTLS_PRIVATE fields of the mbedtls_ecp_curve_info structure. To avoid the access of the private fields create and use new public getter APIs for the fields of the mbedtls_ecp_curve_info structure.

Accessed flelds:

  • name
  • grp_id

Affected files:

  • pkey/ecdsa.c
  • pkey/gen_key.c
  • ssl/ssl_server2.c
@gilles-peskine-arm
Copy link
Contributor

#4842 made all the fields of mbedtls_ecp_curve_info public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-crypto Crypto primitives and low-level interfaces enhancement
Projects
None yet
Development

No branches or pull requests

2 participants