blob: 5e0953739a7afd7dd43ed42ea1039cd1d47cc9f0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Header for libhydrogen use only. Act like a Particle board for the random
// implementation. This code is not actually called when just decrypting and
// verifying a signature, but a correct implementation is provided anyway.
#include "py/mphal.h"
#include "rng.h"
static inline uint32_t HAL_RNG_GetRandomNumber(void) {
return rng_get();
}
|