extmod: Update for move of crypto-algorithms, re1.5, uzlib to lib.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-07-12 16:34:27 +10:00
parent 966e8bf934
commit 94dfaff18b
5 changed files with 15 additions and 15 deletions

View File

@@ -40,7 +40,7 @@
#if MICROPY_SSL_MBEDTLS
#include "mbedtls/sha256.h"
#else
#include "crypto-algorithms/sha256.h"
#include "lib/crypto-algorithms/sha256.h"
#endif
#endif
@@ -115,7 +115,7 @@ STATIC mp_obj_t uhashlib_sha256_digest(mp_obj_t self_in) {
#else
#include "crypto-algorithms/sha256.c"
#include "lib/crypto-algorithms/sha256.c"
STATIC mp_obj_t uhashlib_sha256_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
mp_arg_check_num(n_args, n_kw, 0, 1, false);