add EVB_LN822x iot exporer demo

add EVB_LN822x  iot exporer demo
This commit is contained in:
supowang
2020-06-19 11:10:17 +08:00
parent c90e31d90f
commit 875a14aaf0
102 changed files with 9104 additions and 4790 deletions

View File

@@ -397,8 +397,8 @@ static int aes_init_done = 0;
static void aes_gen_tables( void )
{
int i, x, y, z;
int pow[256];
int log[256];
static int pow[256];
static int log[256];
/*
* compute pow and log tables over GF(2^8)

View File

@@ -321,7 +321,7 @@ void mbedtls_ctr_drbg_update( mbedtls_ctr_drbg_context *ctx,
int mbedtls_ctr_drbg_reseed( mbedtls_ctr_drbg_context *ctx,
const unsigned char *additional, size_t len )
{
unsigned char seed[MBEDTLS_CTR_DRBG_MAX_SEED_INPUT];
static unsigned char seed[MBEDTLS_CTR_DRBG_MAX_SEED_INPUT];
size_t seedlen = 0;
int ret;