Open userwithaname123 opened 2 years ago
This one is easy. Adding one include sentence near the header will solve it.
#include <string.h>
This one is easy. Adding one include sentence near the header will solve it.
#include <string.h>
Uh ! The problem is from CryptoArduino librairie. Do you mean that we must change the librairie code ?!
I confirm. Each examples cannot build, Got .pio/libdeps/esp32/Crypto/src/SHA384.cpp: In member function 'virtual void SHA384::reset()': .pio/libdeps/esp32/Crypto/src/SHA384.cpp:57:51: error: 'memcpy' was not declared in this scope memcpy_P(state.h, hashStart, sizeof(hashStart));
Did you try to add the include in this file? Yes, you need to modify the copy of the library in your local file system. If you do not hit the clean command in the platformio panel, the changes will not be overwritten.
.pio/libdeps/esp32/Crypto/src/SHA384.cpp
please fix