summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2018-08-19 11:58:22 +0300
committerDamien George <damien.p.george@gmail.com>2018-09-11 14:51:52 +1000
commit5fe3730a3036e20c9e7050c88c535750b7ddbfed (patch)
treef497c005deda125becd17a16179585b24bac169a /py
parent89516b2b62faa1a75f4f6ff0fa1ab362aa193013 (diff)
extmod/moduhashlib: Add md5 implementation, using axTLS.
MD5 is still widely used, and may be important in some cases for networking interoperability, e.g. HTTP Digest authentication.
Diffstat (limited to 'py')
-rw-r--r--py/mpconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 6396850b3..e0a0f0d5a 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -1172,6 +1172,10 @@ typedef double mp_float_t;
#define MICROPY_PY_UHASHLIB (0)
#endif
+#ifndef MICROPY_PY_UHASHLIB_MD5
+#define MICROPY_PY_UHASHLIB_MD5 (0)
+#endif
+
#ifndef MICROPY_PY_UHASHLIB_SHA1
#define MICROPY_PY_UHASHLIB_SHA1 (0)
#endif