Fix buffer size in an AES example

This commit is contained in:
k-stachowiak 2019-09-26 11:22:02 +02:00
parent d1798b4f91
commit 20935ebd34

View File

@ -96,7 +96,7 @@ int main( int argc, char *argv[] )
unsigned char IV[16]; unsigned char IV[16];
unsigned char tmp[16]; unsigned char tmp[16];
unsigned char key[512]; unsigned char key[512];
unsigned char digest[32]; unsigned char digest[64];
unsigned char buffer[1024]; unsigned char buffer[1024];
unsigned char diff; unsigned char diff;