patches for DPDK stable branches
 help / color / Atom feed
* [dpdk-stable] [PATCH] crypto/qat: fix digest length in XCBC capability
@ 2019-09-10 16:32 Fiona Trahe
  2019-09-13 11:03 ` Kusztal, ArkadiuszX
  0 siblings, 1 reply; 3+ messages in thread
From: Fiona Trahe @ 2019-09-10 16:32 UTC (permalink / raw)
  To: dev; +Cc: akhil.goyal, fiona.trahe, arkadiuszx.kusztal, stable

Digest length in RTE_CRYPTO_AUTH_AES_XCBC_MAC capability
was incorrectly marked 16 bytes, should be 12.

Fixes: 6a3c87bc6a6c ("crypto/qat: refactor capabilities infrastructure")
cc: stable@dpdk.org

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
---
 drivers/crypto/qat/qat_sym_capabilities.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/qat/qat_sym_capabilities.h b/drivers/crypto/qat/qat_sym_capabilities.h
index 6df12b9..a7fb6a0 100644
--- a/drivers/crypto/qat/qat_sym_capabilities.h
+++ b/drivers/crypto/qat/qat_sym_capabilities.h
@@ -145,8 +145,8 @@
 					.increment = 0			\
 				},					\
 				.digest_size = {			\
-					.min = 16,			\
-					.max = 16,			\
+					.min = 12,			\
+					.max = 12,			\
 					.increment = 0			\
 				},					\
 				.aad_size = { 0 },			\
-- 
1.7.0.7


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] crypto/qat: fix digest length in XCBC capability
  2019-09-10 16:32 [dpdk-stable] [PATCH] crypto/qat: fix digest length in XCBC capability Fiona Trahe
@ 2019-09-13 11:03 ` Kusztal, ArkadiuszX
  2019-09-19 15:12   ` Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Kusztal, ArkadiuszX @ 2019-09-13 11:03 UTC (permalink / raw)
  To: Trahe, Fiona, dev; +Cc: akhil.goyal, stable



> -----Original Message-----
> From: Trahe, Fiona
> Sent: Tuesday, September 10, 2019 6:32 PM
> To: dev@dpdk.org
> Cc: akhil.goyal@nxp.com; Trahe, Fiona <fiona.trahe@intel.com>; Kusztal,
> ArkadiuszX <arkadiuszx.kusztal@intel.com>; stable@dpdk.org
> Subject: [PATCH] crypto/qat: fix digest length in XCBC capability
> 
> Digest length in RTE_CRYPTO_AUTH_AES_XCBC_MAC capability was
> incorrectly marked 16 bytes, should be 12.
> 
> Fixes: 6a3c87bc6a6c ("crypto/qat: refactor capabilities infrastructure")
> cc: stable@dpdk.org
> 
> Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
> ---
>  drivers/crypto/qat/qat_sym_capabilities.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/crypto/qat/qat_sym_capabilities.h
> b/drivers/crypto/qat/qat_sym_capabilities.h
> index 6df12b9..a7fb6a0 100644
> --- a/drivers/crypto/qat/qat_sym_capabilities.h
> +++ b/drivers/crypto/qat/qat_sym_capabilities.h
> @@ -145,8 +145,8 @@
>  					.increment = 0			\
>  				},					\
>  				.digest_size = {			\
> -					.min = 16,			\
> -					.max = 16,			\
> +					.min = 12,			\
> +					.max = 12,			\
>  					.increment = 0			\
>  				},					\
>  				.aad_size = { 0 },			\
> --
> 1.7.0.7

Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] crypto/qat: fix digest length in XCBC capability
  2019-09-13 11:03 ` Kusztal, ArkadiuszX
@ 2019-09-19 15:12   ` Akhil Goyal
  0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2019-09-19 15:12 UTC (permalink / raw)
  To: Kusztal, ArkadiuszX, Trahe, Fiona, dev; +Cc: stable

> >
> > Digest length in RTE_CRYPTO_AUTH_AES_XCBC_MAC capability was
> > incorrectly marked 16 bytes, should be 12.
> >
> > Fixes: 6a3c87bc6a6c ("crypto/qat: refactor capabilities infrastructure")
> > cc: stable@dpdk.org
> >
> > Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
> > ---
> Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>

Applied to dpdk-next-crypto

Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10 16:32 [dpdk-stable] [PATCH] crypto/qat: fix digest length in XCBC capability Fiona Trahe
2019-09-13 11:03 ` Kusztal, ArkadiuszX
2019-09-19 15:12   ` Akhil Goyal

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox