Re: CTS (cipher text stealing mode) and short packets

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

 



Russ Dill <russ.dill@xxxxxxxxx> wrote:
>
> I worked with this a bit, and since the IV has to be modified, it was
> just easier to check for nbytes less than or equal to block size in my
> own code and then back up src/dest pointers by iv_size and increase
> the size by iv_size. (My IV is prepended to my data). On decryption I
> do something similar by adding a buffer for the output of the IV.

I suggest that we fix the CTS algorithm (i.e., give it a block size
of 1 instead of whatever it is now, plus make it work properly for
input equal or less than a block), and then implement RFC3962 on
top of it.

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