aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/crypto/des_s390.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/crypto/des_s390.c')
-rw-r--r--arch/s390/crypto/des_s390.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/s390/crypto/des_s390.c b/arch/s390/crypto/des_s390.c
index 170757b3451d..3fd5d37d5e05 100644
--- a/arch/s390/crypto/des_s390.c
+++ b/arch/s390/crypto/des_s390.c
@@ -135,6 +135,8 @@ static unsigned int des_decrypt_cbc(const struct cipher_desc *desc, u8 *out,
135 135
136static struct crypto_alg des_alg = { 136static struct crypto_alg des_alg = {
137 .cra_name = "des", 137 .cra_name = "des",
138 .cra_driver_name = "des-s390",
139 .cra_priority = CRYPT_S390_PRIORITY,
138 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 140 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
139 .cra_blocksize = DES_BLOCK_SIZE, 141 .cra_blocksize = DES_BLOCK_SIZE,
140 .cra_ctxsize = sizeof(struct crypt_s390_des_ctx), 142 .cra_ctxsize = sizeof(struct crypt_s390_des_ctx),
@@ -271,6 +273,8 @@ static unsigned int des3_128_decrypt_cbc(const struct cipher_desc *desc,
271 273
272static struct crypto_alg des3_128_alg = { 274static struct crypto_alg des3_128_alg = {
273 .cra_name = "des3_ede128", 275 .cra_name = "des3_ede128",
276 .cra_driver_name = "des3_ede128-s390",
277 .cra_priority = CRYPT_S390_PRIORITY,
274 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 278 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
275 .cra_blocksize = DES3_128_BLOCK_SIZE, 279 .cra_blocksize = DES3_128_BLOCK_SIZE,
276 .cra_ctxsize = sizeof(struct crypt_s390_des3_128_ctx), 280 .cra_ctxsize = sizeof(struct crypt_s390_des3_128_ctx),
@@ -411,6 +415,8 @@ static unsigned int des3_192_decrypt_cbc(const struct cipher_desc *desc,
411 415
412static struct crypto_alg des3_192_alg = { 416static struct crypto_alg des3_192_alg = {
413 .cra_name = "des3_ede", 417 .cra_name = "des3_ede",
418 .cra_driver_name = "des3_ede-s390",
419 .cra_priority = CRYPT_S390_PRIORITY,
414 .cra_flags = CRYPTO_ALG_TYPE_CIPHER, 420 .cra_flags = CRYPTO_ALG_TYPE_CIPHER,
415 .cra_blocksize = DES3_192_BLOCK_SIZE, 421 .cra_blocksize = DES3_192_BLOCK_SIZE,
416 .cra_ctxsize = sizeof(struct crypt_s390_des3_192_ctx), 422 .cra_ctxsize = sizeof(struct crypt_s390_des3_192_ctx),