From: Arek Kusztal Date: Thu, 18 Jul 2019 16:09:37 +0000 (+0200) Subject: cryptodev: change RSA API comments about primes X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2e728ed3e47eb711b26a5c03681cf8f4f59f01ca;p=dpdk.git cryptodev: change RSA API comments about primes RSA modulus cannot be prime as its security depends on the problem of integer factorization. Signed-off-by: Arek Kusztal Acked-by: Shally Verma --- diff --git a/lib/librte_cryptodev/rte_crypto_asym.h b/lib/librte_cryptodev/rte_crypto_asym.h index 8672f217c7..02ec304334 100644 --- a/lib/librte_cryptodev/rte_crypto_asym.h +++ b/lib/librte_cryptodev/rte_crypto_asym.h @@ -199,8 +199,8 @@ struct rte_crypto_rsa_priv_key_qt { */ struct rte_crypto_rsa_xform { rte_crypto_param n; - /**< n - Prime modulus - * Prime modulus data of RSA operation in Octet-string network + /**< n - Modulus + * Modulus data of RSA operation in Octet-string network * byte order format. */ @@ -409,7 +409,7 @@ struct rte_crypto_rsa_op_param { * over-written with generated signature. * * Length of the signature data will be equal to the - * RSA prime modulus length. + * RSA modulus length. */ enum rte_crypto_rsa_padding_type pad;