-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Herbert" == Herbert Xu <[EMAIL PROTECTED]> writes:
    >> Are you sure that you want to have generic CBC code?
    >> 
    >> For many algorithms, there are optomizations that one can do when
    >> one is in CBC mode.

    Herbert> If anything the parameterised scheme is going to make it
    Herbert> easier to have specific optimisations for an algorithm.
    Herbert> All you have to do is to register under the name
    Herbert> "cbc(yourname)" and off you go.

  I see. So, if I ask for cbc(aes) and it finds a cipher by that name,
then we are done.
  If it doesn't find it by that name, it will decompose the name to see
if it has something that it does have.

    Herbert> Basically from crytpo API's point of view having things
    Herbert> like CBC hardcoded is unnecessary and unscalable.

  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.

- -- 
]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] [EMAIL PROTECTED]      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [

    "The Microsoft _Get the Facts CD_ does not work on Linux." - orospakr

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Finger me for keys

iQEVAwUBRJgSvICLcPvd0N1lAQIXKAf/eKh3uV7Qbb5vrMeEsTq0vWie8wdrqxxd
clvcD+WdGqwbSi8Qt0AH/IhThbYoXn2mpgwfiLSqPyv2lTRL0keU3foaHL7hOygs
hlnrwAj1tu/KxyS7Yi2nlOh5y1kLsP+rQCIn1rENI67H7kAGb168DbypcQ8TSMgc
qz8SKOqR6S8MHpTtjDSnz8c7dvcPNomwrF+8OUf3KMG+er+6mbKaVVbHoFRpfij8
Q0Aeovzyl+RZl7aoKyI6az9jEq1FhsKVJnJ8Q5NWlXjsnlFOpdWBNyfAygdYbsPl
KyUkYdf7wAv/zTioiqMlCbc5TpmNIX2mJRo2CVWNaO7L7h/6u3E2/w==
=xc1N
-----END PGP SIGNATURE-----
-
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