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

micropython: unix hashlib has no sha1 #61

Open
annejan opened this issue Jun 28, 2017 · 1 comment
Open

micropython: unix hashlib has no sha1 #61

annejan opened this issue Jun 28, 2017 · 1 comment

Comments

@annejan
Copy link
Member

annejan commented Jun 28, 2017

For using extmod/uhashlib you need axtls for the sha1

I tried using the mbedtls/moduhashlib on unix which resulted in weird hashes!!

@basvs
Copy link
Contributor

basvs commented Aug 3, 2017

ugly hack: adding -lcrypto to the linker seems to work. even with the correct hashes.

strange thing is.. the unix build builds the libaxtls library and then uses the mbedtls library.

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

No branches or pull requests

2 participants