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

Add Acorn128 to the host mode test suite

This commit is contained in:
Rhys Weatherley
2018-04-26 07:06:14 +10:00
parent 706cf6b448
commit 60ac9c4d6b
2 changed files with 6 additions and 2 deletions

View File

@@ -553,7 +553,6 @@ bool Acorn128::setIV(const uint8_t *iv, size_t len)
void Acorn128::encrypt(uint8_t *output, const uint8_t *input, size_t len)
{
uint32_t temp;
if (!state.authDone) {
acornPad(&state, CB_1);
state.authDone = 1;
@@ -580,7 +579,6 @@ void Acorn128::encrypt(uint8_t *output, const uint8_t *input, size_t len)
void Acorn128::decrypt(uint8_t *output, const uint8_t *input, size_t len)
{
uint32_t temp;
if (!state.authDone) {
acornPad(&state, CB_1);
state.authDone = 1;