On Thu, Aug 06, 2009 at 10:38:05AM +0200, Sebastian Andrzej Siewior wrote: > > Herbert, any concern to inroduce > #define CRYPTO_ALG_TYPE_STREAM_CIPHER 0x00000007 > and split block cipher from stream cipher? > So no one would mix them up since dm-crypt for instance will look just > for block ciphers. Unless you prefer that the user knows what he is > doing :) Stream ciphers should all have block size 1 so you can just check on that. In any case, I agree that we should make it extremely difficult for users to select an insecure configuration. 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 _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt