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:
578c33c
)
In CFB mode, the iv is always encrypted.
author
Richard Levitte
<levitte@openssl.org>
Fri, 31 May 2002 13:07:45 +0000
(13:07 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 31 May 2002 13:07:45 +0000
(13:07 +0000)
crypto/aes/aes_cfb.c
patch
|
blob
|
history
diff --git
a/crypto/aes/aes_cfb.c
b/crypto/aes/aes_cfb.c
index 9b2917298a8f74cd950c69cd66442440d2ad40ca..41c2a5ec3df51dce1a082fd014cdaec8f6218133 100644
(file)
--- a/
crypto/aes/aes_cfb.c
+++ b/
crypto/aes/aes_cfb.c
@@
-137,7
+137,7
@@
void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out,
} else {
while (l--) {
if (n == 0) {
- AES_
de
crypt(ivec, ivec, key);
+ AES_
en
crypt(ivec, ivec, key);
}
c = *(in);
*(out++) = *(in++) ^ ivec[n];