projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHG: help text changes in cmdlfjablotron.c
[proxmark3-svn]
/
armsrc
/
aes.c
diff --git
a/armsrc/aes.c
b/armsrc/aes.c
index a199d04b7dc8d48bacbf446de619406385320159..dc89a1cf0246ed9d5c78499b59d92caf394924d3 100644
(file)
--- 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( 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
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( 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);
printf("error in decryption\n");
printf("%s\n", databuf);
Impressum
,
Datenschutz