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:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user