crypto: sha1_generic - Add export/import support
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Jul 2009 13:27:13 +0000 (21:27 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Jul 2009 10:23:33 +0000 (18:23 +0800)
commite2a7ce4e185a94462698cc0e5192495ee3d22a2f
tree33013f177e48a3b4b191bfccfdb969cf0eeb8dbb
parent8267adab9433593adb09d94626475c2a5921f111
crypto: sha1_generic - Add export/import support

This patch adds export/import support to sha1_generic.  The exported
type is defined by struct sha1_state, which is basically the entire
descriptor state of sha1_generic.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sha1_generic.c
include/crypto/sha.h