Re: [PATCH 16/16] crypto: hmac - Prehash ipad/opad

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

 



On Thu, Jul 09, 2009 at 12:54:02PM +0800, Herbert Xu wrote:
> crypto: hmac - Prehash ipad/opad
> 
> This patch uses crypto_shash_export/crypto_shash_import to prehash
> ipad/opad to speed up hmac.  This is partly based on a similar patch
> by Steffen Klassert.
> 
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

I've dropped this for now because padlock doesn't work with the
current export/import model.  I'll work on a fix similar to the
one outlined earlier whereby we export/import the exact hash state
rather than the whole descriptor.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <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