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 <pablo.de.lara.guarch@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
This commit is contained in:
parent
6aef763816
commit
af9f6afb14
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user