]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] s390: Generic sha_update and sha_final
authorJan Glauber <jang@linux.vnet.ibm.com>
Thu, 6 Mar 2008 11:50:20 +0000 (19:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Apr 2008 02:19:11 +0000 (10:19 +0800)
commit604973f1fe41b817c1badb3df2008fe641e50ae6
treedca1cf2234a9d8178e45952f4ff0e95f386def5c
parent607424d8583365418a337aa51e83403c8bd213ed
[CRYPTO] s390: Generic sha_update and sha_final

The sha_{update|final} functions are similar for every sha variant.
Since that is error-prone and redundant replace these functions by
a shared generic implementation for s390.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/Makefile
arch/s390/crypto/sha.h [new file with mode: 0644]
arch/s390/crypto/sha1_s390.c
arch/s390/crypto/sha256_s390.c
arch/s390/crypto/sha_common.c [new file with mode: 0644]