X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/569009f3f75891524dda1411b6f3c4c51c0e1ac2..24d6432831b7d52b366cac049b9bb3a99a38abf3:/armsrc/aes.c?ds=sidebyside diff --git a/armsrc/aes.c b/armsrc/aes.c index a199d04b..dc89a1cf 100644 --- a/armsrc/aes.c +++ b/armsrc/aes.c @@ -1152,7 +1152,7 @@ int main() if( AesCtxIni(&ctx, iv, key, KEY128, CBC) < 0) printf("init error\n"); - if (AesEncrypt(&ctx, databuf, databuf, sizeof databuf) < 0) + if (AesEncrypt(&ctx, databuf, databuf, sizeof(databuf) ) < 0) printf("error in encryption\n"); // initialize context and decrypt cipher at other end @@ -1160,7 +1160,7 @@ int main() if( AesCtxIni(&ctx, iv, key, KEY128, CBC) < 0) printf("init error\n"); - if (AesDecrypt(&ctx, databuf, databuf, sizeof databuf) < 0) + if (AesDecrypt(&ctx, databuf, databuf, sizeof(databuf) ) < 0) printf("error in decryption\n"); printf("%s\n", databuf);