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:
f829622
)
undo accidental commit
author
Nils Larsch
<nils@openssl.org>
Thu, 20 Apr 2006 13:54:34 +0000
(13:54 +0000)
committer
Nils Larsch
<nils@openssl.org>
Thu, 20 Apr 2006 13:54:34 +0000
(13:54 +0000)
crypto/aes/aes_cfb.c
patch
|
blob
|
history
diff --git
a/crypto/aes/aes_cfb.c
b/crypto/aes/aes_cfb.c
index 294f746f660eea53f0565329c9065c654a9e58a7..49f0411010c371a0285ca22280a7f1ff1f609fb4 100644
(file)
--- a/
crypto/aes/aes_cfb.c
+++ b/
crypto/aes/aes_cfb.c
@@
-202,7
+202,7
@@
void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out,
assert(*num == 0);
memset(out,0,(length+7)/8);
- for(n=0 ; n < length
* 8
; ++n)
+ for(n=0 ; n < length ; ++n)
{
c[0]=(in[n/8]&(1 << (7-n%8))) ? 0x80 : 0;
AES_cfbr_encrypt_block(c,d,1,key,ivec,enc);