|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
Implementation of the platform-independent utility helpers. More...
#include "CW_Utils.h"Go to the source code of this file.
Implementation of the platform-independent utility helpers.
CW_Utils::secure_compare iterates over the full length to avoid leaking byte-position information through timing. CW_Utils::secure_wipe uses a volatile pointer so the writes cannot be optimised away. CW_Utils::safe_memcpy validates pointers, length, and source/destination overlap before delegating to memcpy.
Definition in file CW_Utils.cpp.