#pragma once #ifdef __cplusplus extern "C" { #endif #include #ifdef __cplusplus } #endif #include // Mock Ed25519 wrapper for native testing. // Adapts the test-only C ed25519 implementation to the Arduino-style class API. class Ed25519 { public: static bool verify(const uint8_t* sig, const uint8_t* pub_key, const uint8_t* message, int msg_len) { return ed25519_verify(sig, message, msg_len, pub_key) != 0; } };