From ee1656e148f81d48989393d7ed579e2eb5d63b1b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 24 Jan 2016 20:52:54 +0200 Subject: extmod/moduhashlib: Add support for SHA1 (based on axTLS). SHA1 is used in a number of protocols and algorithm originated 5 years ago or so, in other words, it's in "wide use", and only newer protocols use SHA2. The implementation depends on axTLS enabled. TODO: Make separate config option specifically for sha1(). --- py/qstrdefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py/qstrdefs.h') diff --git a/py/qstrdefs.h b/py/qstrdefs.h index 935be62b7..dd76c3d43 100644 --- a/py/qstrdefs.h +++ b/py/qstrdefs.h @@ -614,6 +614,7 @@ Q(uhashlib) Q(update) Q(digest) Q(sha256) +Q(sha1) #endif #if MICROPY_PY_UBINASCII -- cgit v1.2.3