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

Re: can CTR use blkcipher_walk_virt()?

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2007-08-17 23:28:18

On Fri, Aug 17, 2007 at 02:54:52PM -0500, Joy Latten wrote:
Just to make sure I understand correctly, 
our plaintext will be a multiple of the blocksize,
therefore it may be padded, right? 
Yes but the padding is something for the user to worry about
and shouldn't concern you.
Also, since it is a multiple, I don't have to worry about last
block of plaintext being less than blocksize and truncating 
the keystream or ciphertext, right?
Yes.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help