diff options
Diffstat (limited to 'cipher.c')
-rw-r--r-- | cipher.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: cipher.c,v 1.48 2001/12/19 07:18:56 deraadt Exp $"); | 38 | RCSID("$OpenBSD: cipher.c,v 1.49 2002/01/18 18:14:17 stevesk Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "log.h" | 41 | #include "log.h" |
@@ -308,7 +308,7 @@ rijndael_cbc_encrypt(CipherContext *cc, u_char *dest, const u_char *src, | |||
308 | if (len % RIJNDAEL_BLOCKSIZE) | 308 | if (len % RIJNDAEL_BLOCKSIZE) |
309 | fatal("rijndael_cbc_encrypt: bad len %d", len); | 309 | fatal("rijndael_cbc_encrypt: bad len %d", len); |
310 | cnow = dest; | 310 | cnow = dest; |
311 | plain = (u_char *) src; | 311 | plain = (u_char *)src; |
312 | cprev = iv; | 312 | cprev = iv; |
313 | for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE, | 313 | for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE, |
314 | cnow+=RIJNDAEL_BLOCKSIZE) { | 314 | cnow+=RIJNDAEL_BLOCKSIZE) { |