On Tue, Jun 20, 2006 at 11:22:38AM -0400, Michael Richardson wrote:
> 
>   Well, there are not that many general notions of modes, so doesn't
> make this too scalable.  I still don't know why anyone would use ECB
> mode in practice.

There are other modes like CFB, CTR, OFB, and IGE.  While they may not
be as popular as CBC, if we want to support them at all (e.g., if a
particular piece of hardware like the VIA Pardlock supports it), then
we need to generalise the block ciphers.

If we continue to do it as we do now, we'd end up with a huge list of
functions in cipher_alg.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to