fix(esp_rom): use hmac_md5 and hmac_md5_vector from ROM only if CONFIG_LIBC_NEWLIB

This commit is contained in:
Alexey Lapshin
2026-02-05 13:40:11 +07:00
parent 988d0da6d4
commit f9ad9a4d16
8 changed files with 8 additions and 8 deletions
@@ -72,3 +72,5 @@ strcoll = 0x40001398;
strlwr = 0x40001524; strlwr = 0x40001524;
strncasecmp = 0x40001550; strncasecmp = 0x40001550;
strupr = 0x4000174c; strupr = 0x4000174c;
PROVIDE ( hmac_md5 = 0x4005d264 );
PROVIDE ( hmac_md5_vector = 0x4005d17c );
@@ -19,8 +19,6 @@ PROVIDE ( ets_timer_done = 0x40008428 );
PROVIDE ( ets_timer_init = 0x400084e8 ); PROVIDE ( ets_timer_init = 0x400084e8 );
PROVIDE ( ets_timer_handler_isr = 0x40008454 ); PROVIDE ( ets_timer_handler_isr = 0x40008454 );
PROVIDE ( ets_timer_setfn = 0x40008350 ); PROVIDE ( ets_timer_setfn = 0x40008350 );
PROVIDE ( hmac_md5 = 0x4005d264 );
PROVIDE ( hmac_md5_vector = 0x4005d17c );
PROVIDE ( hmac_sha1 = 0x40060acc ); PROVIDE ( hmac_sha1 = 0x40060acc );
PROVIDE ( hmac_sha1_vector = 0x400609e4 ); PROVIDE ( hmac_sha1_vector = 0x400609e4 );
PROVIDE ( hmac_sha256 = 0x40060d58 ); PROVIDE ( hmac_sha256 = 0x40060d58 );
@@ -410,8 +410,6 @@ md5_vector = 0x40000610;
MD5Init = 0x40000614; MD5Init = 0x40000614;
MD5Update = 0x40000618; MD5Update = 0x40000618;
MD5Final = 0x4000061c; MD5Final = 0x4000061c;
hmac_md5_vector = 0x40000620;
hmac_md5 = 0x40000624;
crc32_le = 0x40000628; crc32_le = 0x40000628;
crc32_be = 0x4000062c; crc32_be = 0x4000062c;
crc16_le = 0x40000630; crc16_le = 0x40000630;
@@ -48,3 +48,5 @@ strcoll = 0x400003e8;
strlwr = 0x400003f4; strlwr = 0x400003f4;
strncasecmp = 0x400003f8; strncasecmp = 0x400003f8;
strupr = 0x40000418; strupr = 0x40000418;
hmac_md5_vector = 0x40000620;
hmac_md5 = 0x40000624;
@@ -359,8 +359,6 @@ PROVIDE ( gpio_pin_wakeup_disable = 0x40019404 );
PROVIDE ( gpio_pin_wakeup_enable = 0x400193c8 ); PROVIDE ( gpio_pin_wakeup_enable = 0x400193c8 );
PROVIDE ( g_shared_buffers = 0x3ffeab04 ); PROVIDE ( g_shared_buffers = 0x3ffeab04 );
PROVIDE ( g_ticks_per_us = 0x3ffffd70 ); PROVIDE ( g_ticks_per_us = 0x3ffffd70 );
PROVIDE ( hmac_md5 = 0x40005490 );
PROVIDE ( hmac_md5_vector = 0x400053a0 );
PROVIDE ( ibus_baseaddrs = 0x3ffaf03c ); PROVIDE ( ibus_baseaddrs = 0x3ffaf03c );
PROVIDE ( intr_matrix_set = 0x4000f1d0 ); PROVIDE ( intr_matrix_set = 0x4000f1d0 );
PROVIDE ( _iram0_text_end = 0x40000540 ); PROVIDE ( _iram0_text_end = 0x40000540 );
@@ -62,3 +62,5 @@ strcoll = 0x40007ce8;
strlwr = 0x40007e68; strlwr = 0x40007e68;
strncasecmp = 0x40007e94; strncasecmp = 0x40007e94;
strupr = 0x40008084; strupr = 0x40008084;
PROVIDE ( hmac_md5 = 0x40005490 );
PROVIDE ( hmac_md5_vector = 0x400053a0 );
@@ -518,8 +518,6 @@ md5_vector = 0x40001c50;
MD5Init = 0x40001c5c; MD5Init = 0x40001c5c;
MD5Update = 0x40001c68; MD5Update = 0x40001c68;
MD5Final = 0x40001c74; MD5Final = 0x40001c74;
hmac_md5_vector = 0x40001c80;
hmac_md5 = 0x40001c8c;
crc32_le = 0x40001c98; crc32_le = 0x40001c98;
crc32_be = 0x40001ca4; crc32_be = 0x40001ca4;
crc16_le = 0x40001cb0; crc16_le = 0x40001cb0;
@@ -42,3 +42,5 @@ strcoll = 0x400013a4;
strlwr = 0x400013c8; strlwr = 0x400013c8;
strncasecmp = 0x400013d4; strncasecmp = 0x400013d4;
strupr = 0x40001434; strupr = 0x40001434;
hmac_md5_vector = 0x40001c80;
hmac_md5 = 0x40001c8c;