Skip to content

Commit

Permalink
Merge pull request #35 from SergeyBel/fix-delete-mixcolumns
Browse files Browse the repository at this point in the history
fix delete in MixColumns
  • Loading branch information
SergeyBel authored Jan 4, 2021
2 parents c9139ed + 8a99031 commit 2a60641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ void AES::MixColumns(unsigned char** state)
state[j][i] = temp[j]; //when the column is mixed, place it back into the state
}
}
delete temp;
delete[] temp;
}

void AES::AddRoundKey(unsigned char **state, unsigned char *key)
Expand Down

0 comments on commit 2a60641

Please sign in to comment.