8000 cc3200: Remove uhashlib.hexdigest(). · micropython/micropython@7506db4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7506db4

Browse files
author
Daniel Campora
committed
cc3200: Remove uhashlib.hexdigest().
1 parent 2fddc68 commit 7506db4

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

cc3200/mods/moduhashlib.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,9 @@ STATIC mp_obj_t hash_digest(mp_obj_t self_in) {
163163
}
164164
MP_DEFINE_CONST_FUN_OBJ_1(hash_digest_obj, hash_digest);
165165

166-
STATIC mp_obj_t hash_hexdigest(mp_obj_t self_in) {
167-
(void)self_in;
168-
mp_not_implemented("");
169-
}
170-
MP_DEFINE_CONST_FUN_OBJ_1(hash_hexdigest_obj, hash_hexdigest);
171-
172166
STATIC const mp_map_elem_t hash_locals_dict_table[] = {
173167
{ MP_OBJ_NEW_QSTR(MP_QSTR_update), (mp_obj_t) &hash_update_obj },
174168
{ MP_OBJ_NEW_QSTR(MP_QSTR_digest), (mp_obj_t) &hash_digest_obj },
175-
{ MP_OBJ_NEW_QSTR(MP_QSTR_hexdigest), (mp_obj_t) &hash_hexdigest_obj },
176169
};
177170

178171
STATIC MP_DEFINE_CONST_DICT(hash_locals_dict, hash_locals_dict_table);

cc3200/qstrdefsport.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Q(binascii)
7474
Q(re)
7575
Q(json)
7676
Q(heapq)
77+
Q(hashlib)
7778

7879
// for os module
7980
Q(uos)
@@ -350,11 +351,9 @@ Q(POSITIVE)
350351
Q(NEGATIVE)
351352

352353
// for uhashlib module
353-
Q(hashlib)
354354
Q(uhashlib)
355355
Q(update)
356356
Q(digest)
357-
Q(hexdigest)
358357
//Q(md5)
359358
Q(sha1)
360359
Q(sha256)

0 commit comments

Comments
 (0)
0