1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Ring oscillator noise source class

This commit is contained in:
Rhys Weatherley
2015-03-22 08:56:26 +10:00
parent 0c52bf0d50
commit f2f8ed28ea
18 changed files with 1230 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
#include <Crypto.h>
#include <RNG.h>
#include <TransistorNoiseSource.h>
#include <RingOscillatorNoiseSource.h>
// Change "MyApp 1.0" to some other tag for your application
// so that different applications will generate different results
@@ -15,6 +16,7 @@
// Noise source to seed the random number generator.
TransistorNoiseSource noise(A1);
//RingOscillatorNoiseSource noise;
bool calibrating = false;
byte data[32];