diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-08-21 07:18:50 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2006-09-20 21:41:50 -0400 |
commit | 65b75c36f4e8422602826c75c803136e0da94122 (patch) | |
tree | 4adf5b95aff10656469572425a0ae14196031370 /arch/s390/crypto/aes_s390.c | |
parent | f3f632d61ae9af85d436706ee8e33af1a7fb9c28 (diff) |
[CRYPTO] s390: Added missing driver name and priority
Accelerated versions of crypto algorithms must carry a distinct driver name
and priority in order to distinguish themselves from their generic counter-
part.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/s390/crypto/aes_s390.c')
-rw-r--r-- | arch/s390/crypto/aes_s390.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/crypto/aes_s390.c b/arch/s390/crypto/aes_s390.c index c7c43c9de0d9..220300e760d8 100644 --- a/arch/s390/crypto/aes_s390.c +++ b/arch/s390/crypto/aes_s390.c | |||
@@ -222,6 +222,8 @@ static unsigned int aes_decrypt_cbc(const struct cipher_desc *desc, u8 *out, | |||
222 | 222 | ||
223 | static struct crypto_alg aes_alg = { | 223 | static struct crypto_alg aes_alg = { |
224 | .cra_name = "aes", | 224 | .cra_name = "aes", |
225 | .cra_driver_name = "aes-s390", | ||
226 | .cra_priority = CRYPT_S390_PRIORITY, | ||
225 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, | 227 | .cra_flags = CRYPTO_ALG_TYPE_CIPHER, |
226 | .cra_blocksize = AES_BLOCK_SIZE, | 228 | .cra_blocksize = AES_BLOCK_SIZE, |
227 | .cra_ctxsize = sizeof(struct s390_aes_ctx), | 229 | .cra_ctxsize = sizeof(struct s390_aes_ctx), |