crypto: s390 - extend crypto facility check
authorJan Glauber <jang@linux.vnet.ibm.com>
Tue, 19 Apr 2011 19:29:14 +0000 (21:29 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 4 May 2011 05:05:49 +0000 (15:05 +1000)
commit1822bc9093e05059e4144d6041b0f5450ad275e1
treeceb599625dd6ff3f93f9cf1c1070f4c0c576f718
parentba0e14acc417eceb895efda1ff46366f4d1728f8
crypto: s390 - extend crypto facility check

The specification which crypto facility is required for an algorithm is added
as a parameter to the availability check which is done before an algorithm is
registered. With this change it is easier to add new algorithms that require
different facilities.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/aes_s390.c
arch/s390/crypto/crypt_s390.h
arch/s390/crypto/des_s390.c
arch/s390/crypto/prng.c
arch/s390/crypto/sha1_s390.c
arch/s390/crypto/sha256_s390.c
arch/s390/crypto/sha512_s390.c