projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build-n-link new IA-64 modules on Linux and HP-UX.
[oweals/openssl.git]
/
crypto
/
aes
/
aes_cbc.c
diff --git
a/crypto/aes/aes_cbc.c
b/crypto/aes/aes_cbc.c
index 86b27b10d612ab887ae3d4bbda666533783b1c0a..1222a21002c1add66fcfbf5fe57c84475838102b 100644
(file)
--- a/
crypto/aes/aes_cbc.c
+++ b/
crypto/aes/aes_cbc.c
@@
-104,7
+104,7
@@
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
memcpy(tmp, in, AES_BLOCK_SIZE);
AES_decrypt(tmp, tmp, key);
for(n=0; n < len; ++n)
- out[n]
^=
ivec[n];
+ out[n]
= tmp[n] ^
ivec[n];
memcpy(ivec, tmp, AES_BLOCK_SIZE);
}
}