Hi Matt Matt Domsch wrote: >On Mon, Aug 30, 2004 at 05:42:05PM -0500, Matt Domsch wrote: > > >>On Fri, Jul 30, 2004 at 11:33:09PM +0400, Oleg Makarenko wrote: >> >> >>>2. For some reason you can not use non GFP_KERNEL memory and scatter >>>lists or at least mix them in crypto_digest(). That is why sha_pad is >>>now in struct state {}. >>> >>> > >Can you describe what happens when you do? > > please try the attached patch for tcrypt.c to see what is going on yourself. modrpobe the resulting module with mode=2 parameter to test sha1 and see how it fails the tests. For mode=0 (or without any parameter) you should get kernel panic. =oleg