cc3200: Remove uhashlib.hexdigest().
This commit is contained in:
parent
2fddc68fdf
commit
7506db4ccb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user