crypto: padlock-sha - Add import/export support
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 31 Jan 2010 22:17:56 +0000 (09:17 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 1 Feb 2010 19:50:25 +0000 (06:50 +1100)
commita8d7ac279743077965afeca0c9ed748507b68e89
treed5bf192117944ba3c461fcd586c470c0713f3191
parenta996996dd75a9086b12d1cb4010f26e1748993f0
crypto: padlock-sha - Add import/export support

As the padlock driver for SHA uses a software fallback to perform
partial hashing, it must implement custom import/export functions.
Otherwise hmac which depends on import/export for prehashing will
not work with padlock-sha.

Reported-by: Wolfgang Walter <wolfgang.walter@stwm.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-sha.c