mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
SHA512 module stored padding in PROGMEM, but would then pass the pointer to padding into Update function which would do a memcpy. Use the same approach as with SHA256, that is to copy padding to the stack first, and then pass it to Update.