Skip to content

alif/mpconfigport: Enable cryptolib and hashlib.md5/sha1. #17901

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

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

dpgeorge
Copy link
Member

Summary

They are enabled when SSL/mbedTLS is included in the firmware (following, eg, the stm32 port). These new features cost around +1400 bytes of code size.

Testing

Tested on OPENMV_AE3, running the tests/extmod/ tests. They pass.

Trade-offs and Alternatives

Could leave these disabled, but this port has plenty of flash and this brings it up to par with other networking boards.

@iabdalkader
Copy link
Contributor

Thanks! I agree we should enable all features as the flash allows it. I'll be cherry-picking these changes once they're merged.

They are enabled when SSL/mbedTLS is included in the firmware.  These new
features cost around +1400 bytes of code size.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge force-pushed the alif-enable-crypto-hash branch from b5ae49e to f0f5abb Compare August 15, 2025 02:44
@dpgeorge dpgeorge merged commit f0f5abb into micropython:master Aug 15, 2025
7 checks passed
@dpgeorge dpgeorge deleted the alif-enable-crypto-hash branch August 15, 2025 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants