crypto: sha512-s390 - Add export/import support
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Jul 2009 04:29:41 +0000 (12:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Jul 2009 06:38:13 +0000 (14:38 +0800)
This patch adds export/import support to sha512-s390 (which includes
sha384-s390).  The exported type is defined by struct sha512_state,
which is basically the entire descriptor state of sha512_generic.

Since sha512-s390 only supports a 64-bit byte count the import
function will reject anything that exceeds that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found