Re: [PATCH] cryptoapi: Fix sleeping

From: James Morris
Date: Thu Aug 14 2003 - 23:11:41 EST


On Thu, 14 Aug 2003, Matt Mackall wrote:

> This is back to turning off padding and getting at the raw hash
> transforms, and we were talking about doing this via flags. The
> FIPS-180-1 padding is done in sha1.c:digest which has no visibility to
> such flags.

One possibility is that we add a padding parameter to the dia_final
method to indicate whether to perform padding. This would be extracted
from the tfm flags internally.

Also, a side note, please cc Ted on the hash folding discussions.


- James
--
James Morris
<jmorris@xxxxxxxxxxxxxxxx>


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