micropython / micropython-esp32

Old port of MicroPython to the ESP32 -- new port is at https://github.com/micropython/micropython
MIT License
673 stars 217 forks source link

Use mbedtls API to get SHA1 and SHA256 from ESP32's processor support. #84

Closed vandys closed 7 years ago

vandys commented 7 years ago

A little shy of 40% speedup.

MrSurly commented 7 years ago

@vandys Did you copy the header from another file? If this file is mostly your work, you should have your name in the license/copyright.

vandys commented 7 years ago

Which header file? There's a new .c file, which is a copy of extmod/moduhashlib with the API invocation details edited. Total derivative work.

vandys commented 7 years ago

Let me go shuffle this around, also test against the new SDK base. I'll generate a new pull request, thanks.

MrSurly commented 7 years ago

Which header file?

Sorry for the confusion, I mean the text at the top of the C file.

There's a new .c file, which is a copy of extmod/moduhashlib with the API invocation details edited. Total derivative work.

Ah, got it.

dpgeorge commented 7 years ago

The follow-up PR was merged, see #95