This commit is contained in:
Ken MacKay
2020-10-07 12:09:37 -07:00
parent c1402e768a
commit 01dd76e728
-5
View File
@@ -1,7 +1,5 @@
#include <uECC.h>
extern "C" {
static int RNG(uint8_t *dest, unsigned size) {
// Use the least-significant bits from the ADC for an unconnected pin (or connected to a source of
// random noise). This can take a long time to generate random data if the result of analogRead(0)
@@ -29,8 +27,6 @@ static int RNG(uint8_t *dest, unsigned size) {
return 1;
}
} // extern "C"
void setup() {
Serial.begin(115200);
Serial.print("Testing ecc\n");
@@ -82,4 +78,3 @@ void loop() {
Serial.print("Shared secrets are identical\n");
}
}