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

Move example EEPROM address for RNG from 500 to 950

This commit is contained in:
Rhys Weatherley
2015-05-03 14:25:20 +10:00
parent 2e64f4bec9
commit 3b4a928457
5 changed files with 8 additions and 8 deletions

View File

@@ -207,7 +207,7 @@ void setup()
// Start the random number generator. We don't initialise a noise
// source here because we don't need one for testing purposes.
// Real DH applications should of course use a proper noise source.
RNG.begin("TestCurve25519 1.0", 500);
RNG.begin("TestCurve25519 1.0", 950);
// Perform the tests.
testEval();

View File

@@ -227,7 +227,7 @@ void setup()
// Start the random number generator. We don't initialise a noise
// source here because we don't need one for testing purposes.
// Real applications should of course use a proper noise source.
RNG.begin("TestEd25519 1.0", 500);
RNG.begin("TestEd25519 1.0", 950);
// Perform the tests.
testFixedVectors();

View File

@@ -12,7 +12,7 @@
#define RNG_APP_TAG "MyApp 1.0"
// EEPROM address to save the random number seed at.
#define RNG_EEPROM_ADDRESS 500
#define RNG_EEPROM_ADDRESS 950
// Noise source to seed the random number generator.
TransistorNoiseSource noise(A1);