Re: [PATCH v2 2/2] crypto: sahara - add support for SHA1/256

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 07, 2014 at 08:47:05AM +0200, Steffen Trumtrar wrote:
>
> > This is still wrong since the context needs to be stored in the
> > request.  Otherwise multiple requests will corrupt each other's
> > state.
> > 
> 
> :-( Okay.
> 
> What would I have to do to test if it works correctly?
> 
> I tested this with AF_ALG from userspace and opened two file descriptors
> and wrote to them in turns. Wouldn't that produce multiple requests?

It should if you're not finalising the result.  Can you show me
your test program?

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux