cryptodev: make xform key pointer constant
authorFan Zhang <roy.fan.zhang@intel.com>
Mon, 24 Jun 2019 13:35:22 +0000 (14:35 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 19 Jul 2019 12:15:21 +0000 (14:15 +0200)
commit186b14d6850654eb84a8ae9ea29b736f0ba5e093
tree6f470ae3a3d72d9e245f1648bf7d7326996841a0
parent8c7a31317b0ec128d25b30cd56db94c144ceaaa2
cryptodev: make xform key pointer constant

This patch changes the key pointer data types in cipher, auth,
and aead xforms from "uint8_t *" to "const uint8_t *" for a
more intuitive and safe sessionn creation.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Liron Himi <lironh@marvell.com>
23 files changed:
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_19_08.rst
drivers/common/cpt/cpt_ucode.h
drivers/crypto/aesni_gcm/aesni_gcm_pmd.c
drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c
drivers/crypto/mvsam/rte_mrvl_pmd.c
drivers/crypto/mvsam/rte_mrvl_pmd_ops.c
drivers/crypto/openssl/rte_openssl_pmd.c
drivers/crypto/qat/qat_sym_session.c
drivers/crypto/qat/qat_sym_session.h
drivers/crypto/snow3g/rte_snow3g_pmd.c
drivers/crypto/snow3g/rte_snow3g_pmd_private.h
drivers/crypto/virtio/virtio_cryptodev.c
drivers/crypto/virtio/virtio_cryptodev.h
drivers/net/ixgbe/ixgbe_ipsec.c
drivers/net/ixgbe/ixgbe_ipsec.h
drivers/net/softnic/rte_eth_softnic_cli.c
drivers/net/softnic/rte_eth_softnic_internals.h
examples/ip_pipeline/cli.c
examples/ip_pipeline/cryptodev.c
examples/ip_pipeline/pipeline.h
examples/l2fwd-crypto/main.c
lib/librte_cryptodev/rte_crypto_sym.h