| commit | 9fadfd1adff28a8895de8df9e8a778c44958840f | [log] [tgz] |
|---|---|---|
| author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 22 12:29:41 2009 +0800 |
| committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jul 22 14:38:13 2009 +0800 |
| tree | 533d208b5852b883f5bcf2ff5f507bedb6d4ec9d | |
| parent | 13887ed6888dad1608eb9530ebd83b6ba29db577 [diff] |
crypto: sha512-s390 - Add export/import support
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>