micropython / micropython-esp32

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

Add missing uhashlib back in #178 #179

Closed nickzoic closed 6 years ago

nickzoic commented 6 years ago

This is a one-liner to add uhashlib back into the modules.

MrSurly commented 6 years ago

HA! This was on my to-do for tomorrow. But it's already tomorrow there, isn't it?

dpgeorge commented 6 years ago

Looks good!

The reason for the omission is because esp32 uses its own moduhashlib.c, rather than the core provided one, which would automatically add this uhashlib to the list of built-in modules. esp32 uses its own implementation because it uses mbedtls for the hashing.

nickzoic commented 6 years ago

I figured I'd take "Looks good!" as a positive review and merge it :-)