feat(ssl): Don't need ICACHE_RODATA_ATTR for const

This commit is contained in:
Wu Jian Gang
2018-04-09 20:04:36 +08:00
parent 5ee5ade025
commit 3720ca8dba
23 changed files with 127 additions and 127 deletions

View File

@ -132,7 +132,7 @@ void mbedtls_sha256_starts( mbedtls_sha256_context *ctx, int is224 )
}
#if !defined(MBEDTLS_SHA256_PROCESS_ALT)
static const uint32_t K[] ICACHE_RODATA_ATTR STORE_ATTR =
static const uint32_t K[] =
{
0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5,
0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5,
@ -274,7 +274,7 @@ void mbedtls_sha256_update( mbedtls_sha256_context *ctx, const unsigned char *in
memcpy( (void *) (ctx->buffer + left), input, ilen );
}
static const unsigned char sha256_padding[64] ICACHE_RODATA_ATTR =
static const unsigned char sha256_padding[64] =
{
0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,