Re: can CTR use blkcipher_walk_virt()?

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

 



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~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux