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

Hashlib on SAMD #2023

Open
brentru opened this issue Jul 31, 2019 · 3 comments
Open

Hashlib on SAMD #2023

brentru opened this issue Jul 31, 2019 · 3 comments
Labels
Milestone

Comments

@brentru
Copy link
Member

brentru commented Jul 31, 2019

Hashlib is not supported on SAMD ports of CircuitPython.

The SHA256 is useful for a RSA implementation I'm working on. SHA1 is useful for TOTP, and MD5 may come in handy for performing checksums for files on CIRCUITPY.

@tannewt tannewt added cpython api modules from cpython enhancement labels Sep 3, 2019
@tannewt tannewt added this to the Long term milestone Sep 3, 2019
@tannewt
Copy link
Member

tannewt commented Sep 3, 2019

Note the SAMD51 has a Public Key Cryptography Controller (PUKCC) that is meant to help with these algorithms.

@ladyada
Copy link
Member

ladyada commented Sep 4, 2019

yes! and other chips don't, having generic C is fine and for large chips only

@applecuckoo
Copy link

Related: #4504

The Integrity Check Monitor (ICM) built into the SAMD51 doesn't support MD5 and neither do the chips I mention in that latest post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants