On Tue, Apr 13, 2010 at 06:21:44PM +0300, Dmitry Kasatkin wrote: > > > On 13/04/10 18:16, ext Uri Simchoni wrote: >> Doing step 3 using sw is probably faster than by hw (because it's short and >> avoid all the hw setup), so the suggested approach is probably faster than >> generic async hmac. >> >> > Yes. that is exactly what happens in hw - it is much slower. > And I do not see any problems as well with finishing it with sw.
I never said that you can't do it in software. I just don't want every driver to write its own copy of hmac in software. If you're going to do it in software, then let's make an ahash version of hmac. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herb...@gondor.apana.org.au> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html