IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

newmodes-03 buglet: *-ctr modes' blocksizes?



Looking at newmodes-03, I see various *-ctr modes described.  But they
are basically stream ciphers, and as such, do not really have a
blocksize any more than (say) arcfour does.

But for interoperability everyone has to agree on what their blocksize
is for purposes of ssh use.  For the -ctr modes I've already
implemented (blowfish-ctr and 3des-ctr) this hasn't mattered because
their "native" blocksize is 64 bits, and strema ciphers are treated as
having 64-bit blocks for purposes of ssh's stream blocking.  But now I
want to do the aes*-ctr modes, and this suddenly matters.

So, I think newmodes-03 needs to be updated to clarify this: do these
*-ctr modes run as stream ciphers, blocking the data stream to 64-bit
blocks like any stream cipher, or do they run as block ciphers (which
happen to be implemented as stream ciphers) with block sizes copied
from their underlying block algorithms?  (Or something else?)

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse%rodents.montreal.qc.ca@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B



Home | Main Index | Thread Index | Old Index