diff options
Diffstat (limited to 'drivers/s390/crypto/zcrypt_pcicc.c')
-rw-r--r-- | drivers/s390/crypto/zcrypt_pcicc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/crypto/zcrypt_pcicc.c b/drivers/s390/crypto/zcrypt_pcicc.c index d6d59bf9ac38..17ea56ce1c11 100644 --- a/drivers/s390/crypto/zcrypt_pcicc.c +++ b/drivers/s390/crypto/zcrypt_pcicc.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #define PCICC_MAX_MOD_SIZE_OLD 128 /* 1024 bits */ | 42 | #define PCICC_MAX_MOD_SIZE_OLD 128 /* 1024 bits */ |
43 | #define PCICC_MAX_MOD_SIZE 256 /* 2048 bits */ | 43 | #define PCICC_MAX_MOD_SIZE 256 /* 2048 bits */ |
44 | 44 | ||
45 | /** | 45 | /* |
46 | * PCICC cards need a speed rating of 0. This keeps them at the end of | 46 | * PCICC cards need a speed rating of 0. This keeps them at the end of |
47 | * the zcrypt device list (see zcrypt_api.c). PCICC cards are only | 47 | * the zcrypt device list (see zcrypt_api.c). PCICC cards are only |
48 | * used if no other cards are present because they are slow and can only | 48 | * used if no other cards are present because they are slow and can only |
@@ -388,7 +388,7 @@ static int convert_type86(struct zcrypt_device *zdev, | |||
388 | reply_len = le16_to_cpu(msg->length) - 2; | 388 | reply_len = le16_to_cpu(msg->length) - 2; |
389 | if (reply_len > outputdatalength) | 389 | if (reply_len > outputdatalength) |
390 | return -EINVAL; | 390 | return -EINVAL; |
391 | /** | 391 | /* |
392 | * For all encipher requests, the length of the ciphertext (reply_len) | 392 | * For all encipher requests, the length of the ciphertext (reply_len) |
393 | * will always equal the modulus length. For MEX decipher requests | 393 | * will always equal the modulus length. For MEX decipher requests |
394 | * the output needs to get padded. Minimum pad size is 10. | 394 | * the output needs to get padded. Minimum pad size is 10. |