Re: Crypto API and keyed non-HMAC digest algorithms / Michael MIC

From: Clay Haapala
Date: Thu Mar 11 2004 - 11:37:13 EST


On Wed, 10 Mar 2004, Jouni Malinen outgrape:
> On Wed, Mar 10, 2004 at 11:06:37PM -0500, James Morris wrote:
>
>> I can't reproduce it now either (AFAICR, it oopsed in test_hash().
>>
>> I suspect it may have been caused by loading tcrypt module which
>> was out of sync with the digest setkey change.
>
> That's possible. It didn't fail in my test with an updated version
> from the BK repository either, so I would assume this issue can be
> called resolved.
>
> Here's the digest setkey part of the previous combined patch; I'll
> send a patch for Michael MIC separately.
>
>
>
> Added support for using keyed digest with an optional dit_setkey
> handler. This does not change the behavior of the existing digest
> algorithms, but allows new ones to add setkey handler that can be
> used to initialize the algorithm with a key or seed. setkey is to be
> called after init, but before any of the update call(s).
>
> [ ... patch omitted ... ]

OK, so I should recode CRC32C to be a variation of digest that employs
a setkey() handler, right? Should be no problem.

Can I get to a reasonable development environment by starting with
2.6.3, and adding the patch you just sent? Or, do I need the Michael
MIC patch, as well?
--
Clay Haapala (chaapala@xxxxxxxxx) Cisco Systems SRBU +1 763-398-1056
6450 Wedgwood Rd, Suite 130 Maple Grove MN 55311 PGP: C89240AD
Windows XP 'Reloaded'? *Reloaded?* Have they no sense of irony?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/