crypto: sha256_generic - Add export/import support
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 10 Jul 2009 05:00:27 +0000 (13:00 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Jul 2009 10:23:34 +0000 (18:23 +0800)
commit9b2fda7b94a769af13c24582739e50664b0e27a8
tree9569f151b19dec10a8b5d3741a5ad875a98a1a63
parent3d4d277cf88e1980d905707b9c8ca61e8ad6bf0b
crypto: sha256_generic - Add export/import support

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

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