Open luckwaski opened 6 years ago
It looks like the gcmaes256 pointer was not initialised and is still null. So there is no object there and the program crashes causing a system restart. You could try changing the Cryptotest constructor as follows:
Cryptotest::Cryptotest()
{
gcmaes256 = new GCM
You'll also need to add a destructor to clear the object up:
Cryptotest::Cryptotest() { delete gcmaes256; }
I hope this helps.
Thank you! It helped - I just changed the initializer a bit:
gcmaes256 = new GCM<AES256>();
Hello, I'm having a hard time running GCM from within another library on Arduino.
Heres my sketch:
And the test library:
What happens is atmega is going for an infite restart loop "START" displaying over and over in the serial. Any ideas would be appreciated.
Thank you