projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135891a
)
Wrong variable!
author
Ben Laurie
<ben@openssl.org>
Sat, 31 Jan 2004 17:18:02 +0000
(17:18 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sat, 31 Jan 2004 17:18:02 +0000
(17:18 +0000)
fips/aes/fips_aesavs.c
patch
|
blob
|
history
diff --git
a/fips/aes/fips_aesavs.c
b/fips/aes/fips_aesavs.c
index 38e060a794f2987d0cf080e065ffdeaf2a571a6c..29e97b0cf7d512b0c143ce9f778da21ddc6112b2 100644
(file)
--- a/
fips/aes/fips_aesavs.c
+++ b/
fips/aes/fips_aesavs.c
@@
-23,7
+23,7
@@
#define AES_BLOCK_SIZE 16
-#define VERBOSE
0
+#define VERBOSE
1
/*-----------------------------------------------*/
@@
-558,7
+558,7
@@
int do_mct(char *amode,
memcpy(ctext[0], ptext[j-1], AES_BLOCK_SIZE);
break;
case CFB8:
- for (n1 = 0, n2 = 15; n < 16; ++n1, --n2)
+ for (n1 = 0, n2 = 15; n
1
< 16; ++n1, --n2)
iv[i+1][n1] = ptext[j-n2][0];
ctext[0][0] = ptext[j-16][0];
break;