Re: [PATCH/proposal] dm-crypt: add digest-based iv generation mode

From: James Morris
Date: Fri Feb 20 2004 - 19:10:11 EST


On Fri, 20 Feb 2004, Christophe Saout wrote:

> What do you think of this?
>
> I would like to copy the tfm onto the stack so that I can
> a) compute the hmac on several CPUs at the same time without locking
> b) reuse a precomputed tfm from just after crypt_hmac_init

I think you'll run into problems on highmem boxes when the code kmaps
pages. IIRC, Matt Mackall has looked into this in detail.


- James
--
James Morris
<jmorris@xxxxxxxxxx>


-
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/