You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to use your CryptoLW library on both my Arduino Nano and Arduino Uno. I only removed the performance tests, the rest is your origin code in TestSpeck.ino. Decryption fails on both boards for SpeckTiny.
This is the output of all testCipher() calls (identical for Uno and Nano):
That is actually expected. SpeckTiny only implements encryption to keep the memory size as tiny as possible. Use SpeckSmall if you also need decryption. Decryption is stubbed out in the code:
void SpeckTiny::decryptBlock(uint8_t *output, const uint8_t *input)
{
// Decryption is not supported by SpeckTiny. Use SpeckSmall instead.
}
It is weird though because the example should be disabling the decryption tests. I will try to figure out why it isn't.
Hi!
I just tried to use your
CryptoLW
library on both my Arduino Nano and Arduino Uno. I only removed the performance tests, the rest is your origin code in TestSpeck.ino. Decryption fails on both boards for SpeckTiny.This is the output of all
testCipher()
calls (identical for Uno and Nano):I'm using the following Arduino IDE:
Version: 2.0.4
Date: 2023-02-27T16:14:28.576Z
CLI Version: 0.31.0
The text was updated successfully, but these errors were encountered: