summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArek Kusztal <arkadiuszx.kusztal@intel.com>2019-04-17 09:41:13 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-05-13 23:25:20 +0200
commit8a100045eb6e712e048915f99e353b4df88b3753 (patch)
tree6ff58ad81da41b2aa74d0f03c66eb3ac1bfee1fe
parent274e311f5457476c1ec26046af390038a3bed9b4 (diff)
downloaddpdk-8a100045eb6e712e048915f99e353b4df88b3753.zip
dpdk-8a100045eb6e712e048915f99e353b4df88b3753.tar.gz
dpdk-8a100045eb6e712e048915f99e353b4df88b3753.tar.xz
doc: announce crypto API change for GCM IV
This patch adds deprecation notice of changing iv behaviour when using Galois Counter Mode of operation. With this change, IV of all supported sizes can be used. Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
-rw-r--r--doc/guides/rel_notes/deprecation.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index fc830dc..f2279eb 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -93,5 +93,11 @@ Deprecation Notices
structure (``rte_crypto_cipher_xform``, ``rte_crypto_auth_xform``, and
``rte_crypto_aead_xform``) will be changed to ``const uint8_t *data``.
+* cryptodev: support for using IV with all sizes is added, J0 still can
+ be used but only when IV length in following structs ``rte_crypto_auth_xform``,
+ ``rte_crypto_aead_xform`` is set to zero. When IV length is greater or equal
+ to one it means it represents IV, when is set to zero it means J0 is used
+ directly, in this case 16 bytes of J0 need to be passed.
+
* metrics: The function ``rte_metrics_init`` will have a non-void return
in order to notify errors instead of calling ``rte_exit``.