mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-28 05:08:23 +08:00
feat(ssl): Don't need ICACHE_RODATA_ATTR for const
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user