Skip to content

Fixed hash algo to be selected based on input and not hardcoded #219

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

Closed

Conversation

lagosantol
Copy link
Contributor

The default SE05x configuration comes with 256 bit curves, so SHA256 is a better default choice.
Even better is to adapt to the input, in case the configuration is changed.

@pennam
Copy link
Contributor

pennam commented Dec 20, 2023

Thanks for the patch @lagosantol. This change requires to rebuild the library linked by the SSLClient https://github.com/arduino/ArduinoCore-renesas/blob/main/libraries/SSLClient/src/cortex-m33/libmbedse05x.a

Do you mind adding it to to this PR to keep things aligned? Otherwise i can do it for you, just let me know. You can follow this README to rebuild the library from the extra/tls folder

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Dec 20, 2023
@pennam
Copy link
Contributor

pennam commented Jan 5, 2024

Superseded by #229

@pennam pennam closed this Jan 5, 2024
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hardcoded digest algorithm value for SE05x is inconsistent with SE05x default configuration.
3 participants