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

@ -93,7 +93,7 @@ static void mbedtls_zeroize( void *v, size_t n ) {
/*
* Round constants
*/
static const uint64_t K[80] ICACHE_RODATA_ATTR STORE_ATTR =
static const uint64_t K[80] =
{
UL64(0x428A2F98D728AE22), UL64(0x7137449123EF65CD),
UL64(0xB5C0FBCFEC4D3B2F), UL64(0xE9B5DBA58189DBBC),
@ -303,7 +303,7 @@ void mbedtls_sha512_update( mbedtls_sha512_context *ctx, const unsigned char *in
memcpy( (void *) (ctx->buffer + left), input, ilen );
}
static const unsigned char sha512_padding[128] ICACHE_RODATA_ATTR STORE_ATTR =
static const unsigned char sha512_padding[128] =
{
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,