From: Pablo de Lara Date: Wed, 21 Sep 2016 01:45:19 +0000 (+0100) Subject: crypto: rename all KASUMI references X-Git-Tag: spdx-start~5725 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=af9f6afb1452d207cf5695615442ee21836b6570;p=dpdk.git crypto: rename all KASUMI references KASUMI algorithm has all uppercase letters, but some references of it had some lowercase letters. Signed-off-by: Pablo de Lara Acked-by: Deepak Kumar Jain --- diff --git a/drivers/crypto/qat/qat_adf/qat_algs.h b/drivers/crypto/qat/qat_adf/qat_algs.h index fad8471367..8fcab6f6d7 100644 --- a/drivers/crypto/qat/qat_adf/qat_algs.h +++ b/drivers/crypto/qat/qat_adf/qat_algs.h @@ -52,7 +52,7 @@ #include "icp_qat_fw_la.h" /* - * Key Modifier (KM) value used in Kasumi algorithm in F9 mode to XOR + * Key Modifier (KM) value used in KASUMI algorithm in F9 mode to XOR * Integrity Key (IK) */ #define KASUMI_F9_KEY_MODIFIER_4_BYTES 0xAAAAAAAA diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c index e4a70c9b89..a79d860c1a 100644 --- a/drivers/crypto/qat/qat_crypto.c +++ b/drivers/crypto/qat/qat_crypto.c @@ -942,7 +942,7 @@ qat_write_hw_desc_entry(struct rte_crypto_op *op, uint8_t *out_msg) if (unlikely((cipher_param->cipher_length % BYTE_LENGTH != 0) || (cipher_param->cipher_offset % BYTE_LENGTH != 0))) { - PMD_DRV_LOG(ERR, " For SNOW 3G/Kasumi, QAT PMD only " + PMD_DRV_LOG(ERR, " For SNOW 3G/KASUMI, QAT PMD only " "supports byte aligned values"); op->status = RTE_CRYPTO_OP_STATUS_INVALID_ARGS; return -EINVAL; diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h index 34a6bbf5e8..9d678b2037 100644 --- a/lib/librte_cryptodev/rte_crypto_sym.h +++ b/lib/librte_cryptodev/rte_crypto_sym.h @@ -97,7 +97,7 @@ enum rte_crypto_cipher_algorithm { /**< (A)RC4 cipher algorithm */ RTE_CRYPTO_CIPHER_KASUMI_F8, - /**< Kasumi algorithm in F8 mode */ + /**< KASUMI algorithm in F8 mode */ RTE_CRYPTO_CIPHER_SNOW3G_UEA2, /**< SNOW 3G algorithm in UEA2 mode */ @@ -204,7 +204,7 @@ enum rte_crypto_auth_algorithm { /**< AES XCBC algorithm. */ RTE_CRYPTO_AUTH_KASUMI_F9, - /**< Kasumi algorithm in F9 mode. */ + /**< KASUMI algorithm in F9 mode. */ RTE_CRYPTO_AUTH_MD5, /**< MD5 algorithm */ @@ -426,7 +426,7 @@ struct rte_crypto_sym_op { uint8_t *data; /**< Initialisation Vector or Counter. * - * - For block ciphers in CBC or F8 mode, or for Kasumi + * - For block ciphers in CBC or F8 mode, or for KASUMI * in F8 mode, or for SNOW 3G in UEA2 mode, this is the * Initialisation Vector (IV) value. * @@ -454,7 +454,7 @@ struct rte_crypto_sym_op { uint16_t length; /**< Length of valid IV data. * - * - For block ciphers in CBC or F8 mode, or for Kasumi + * - For block ciphers in CBC or F8 mode, or for KASUMI * in F8 mode, or for SNOW 3G in UEA2 mode, this is the * length of the IV (which must be the same as the * block length of the cipher).