aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto/zcrypt_cca_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/crypto/zcrypt_cca_key.h')
-rw-r--r--drivers/s390/crypto/zcrypt_cca_key.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/crypto/zcrypt_cca_key.h b/drivers/s390/crypto/zcrypt_cca_key.h
index 8dbcf0eef3e5..ed82f2f59b17 100644
--- a/drivers/s390/crypto/zcrypt_cca_key.h
+++ b/drivers/s390/crypto/zcrypt_cca_key.h
@@ -174,7 +174,7 @@ static inline int zcrypt_type6_mex_key_de(struct ica_rsa_modexpo *mex,
174 key->pvtMeHdr = static_pvt_me_hdr; 174 key->pvtMeHdr = static_pvt_me_hdr;
175 key->pvtMeSec = static_pvt_me_sec; 175 key->pvtMeSec = static_pvt_me_sec;
176 key->pubMeSec = static_pub_me_sec; 176 key->pubMeSec = static_pub_me_sec;
177 /** 177 /*
178 * In a private key, the modulus doesn't appear in the public 178 * In a private key, the modulus doesn't appear in the public
179 * section. So, an arbitrary public exponent of 0x010001 will be 179 * section. So, an arbitrary public exponent of 0x010001 will be
180 * used. 180 * used.
@@ -338,7 +338,7 @@ static inline int zcrypt_type6_crt_key(struct ica_rsa_modexpo_crt *crt,
338 pub = (struct cca_public_sec *)(key->key_parts + key_len); 338 pub = (struct cca_public_sec *)(key->key_parts + key_len);
339 *pub = static_cca_pub_sec; 339 *pub = static_cca_pub_sec;
340 pub->modulus_bit_len = 8 * crt->inputdatalength; 340 pub->modulus_bit_len = 8 * crt->inputdatalength;
341 /** 341 /*
342 * In a private key, the modulus doesn't appear in the public 342 * In a private key, the modulus doesn't appear in the public
343 * section. So, an arbitrary public exponent of 0x010001 will be 343 * section. So, an arbitrary public exponent of 0x010001 will be
344 * used. 344 * used.