Skip to content

Commit

Permalink
typo bug fix in the aes.cpp examples_RPi
Browse files Browse the repository at this point in the history
  • Loading branch information
rokigeorg committed Nov 7, 2016
1 parent 2dc305d commit 9bdb20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples_Rpi/aes.cpp
Expand Up @@ -29,7 +29,7 @@ void prekey (int bits)
byte cipher[sizeof(plain_p)];
aes.do_aes_encrypt(plain,sizeof(plain),cipher,key,bits);
aes.get_IV(iv);
aes.do_aes_dencrypt(cipher,aes.get_size(),plain_p,key,bits,iv);
aes.do_aes_decrypt(cipher,aes.get_size(),plain_p,key,bits,iv);
//normally u have sizeof(cipher) but if its in the same sketch you cannot determin it dynamically

printf("\n\nPLAIN :");
Expand Down

0 comments on commit 9bdb20c

Please sign in to comment.