Commit 7506db4c authored by Daniel Campora's avatar Daniel Campora
Browse files

cc3200: Remove uhashlib.hexdigest().

parent 2fddc68f
......@@ -163,16 +163,9 @@ STATIC mp_obj_t hash_digest(mp_obj_t self_in) {
}
MP_DEFINE_CONST_FUN_OBJ_1(hash_digest_obj, hash_digest);
STATIC mp_obj_t hash_hexdigest(mp_obj_t self_in) {
(void)self_in;
mp_not_implemented("");
}
MP_DEFINE_CONST_FUN_OBJ_1(hash_hexdigest_obj, hash_hexdigest);
STATIC const mp_map_elem_t hash_locals_dict_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_update), (mp_obj_t) &hash_update_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_digest), (mp_obj_t) &hash_digest_obj },
{ MP_OBJ_NEW_QSTR(MP_QSTR_hexdigest), (mp_obj_t) &hash_hexdigest_obj },
};
STATIC MP_DEFINE_CONST_DICT(hash_locals_dict, hash_locals_dict_table);
......
......@@ -74,6 +74,7 @@ Q(binascii)
Q(re)
Q(json)
Q(heapq)
Q(hashlib)
// for os module
Q(uos)
......@@ -350,11 +351,9 @@ Q(POSITIVE)
Q(NEGATIVE)
// for uhashlib module
Q(hashlib)
Q(uhashlib)
Q(update)
Q(digest)
Q(hexdigest)
//Q(md5)
Q(sha1)
Q(sha256)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment