/* * SPDX-License-Identifier: MIT * ZephCore RNG interface - matches Utils.h */ #pragma once #include #include /* On STM32, CMSIS defines an object-like macro `RNG` that collides with the * mesh::RNG class below. The fixup header neutralizes it order-independently. */ #include namespace mesh { class RNG { public: virtual void random(uint8_t *dest, size_t sz) = 0; uint32_t nextInt(uint32_t _min, uint32_t _max); }; } /* namespace mesh */