Thread (4 messages) 4 messages, 2 authors, 2007-08-17

can CTR use blkcipher_walk_virt()?

From: Joy Latten <hidden>
Date: 2007-08-16 21:03:09

I am in learning mode and have been looking into CTR.
Based on the fact that CTR does not require the plaintext to 
be a multiple of the blocksize nor is padding required,
should I use cipher.c routines (as xcbc does) instead
of blkcipher.c routines (as cbc does)?
(I've been referencing rfc 3686.)

If it is possible to receive plaintext < blocksize in CTR...
then, wouldn't blkcipher_walk_virt() result in error because 
walk->total < blocksize.  (Error would occur in blcipher_walk_next.)

Regards,
Joy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help