Return to cipher.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.48, 2001/12/19 07:18:56 | version 1.49, 2002/01/18 18:14:17 | ||
---|---|---|---|
|
|
||
if (len % RIJNDAEL_BLOCKSIZE) | if (len % RIJNDAEL_BLOCKSIZE) | ||
fatal("rijndael_cbc_encrypt: bad len %d", len); | fatal("rijndael_cbc_encrypt: bad len %d", len); | ||
cnow = dest; | cnow = dest; | ||
plain = (u_char *) src; | plain = (u_char *)src; | ||
cprev = iv; | cprev = iv; | ||
for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE, | for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE, | ||
cnow+=RIJNDAEL_BLOCKSIZE) { | cnow+=RIJNDAEL_BLOCKSIZE) { |