patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] crypto/qat: fix aes cmac mininum digest size
@ 2019-10-22 14:22 Arek Kusztal
  2019-10-22 14:34 ` Trahe, Fiona
  0 siblings, 1 reply; 3+ messages in thread
From: Arek Kusztal @ 2019-10-22 14:22 UTC (permalink / raw)
  To: dev; +Cc: akhil.goyal, fiona.trahe, Arek Kusztal, stable

AES-CMAC is used in 3gpp specifications hence it is needed
to support 4 byte digest.

Fixes: 91c1daa4e1f0 ("crypto/qat: support AES-CMAC")
Cc: stable@dpdk.org

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
---
 drivers/crypto/qat/qat_sym_capabilities.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/qat/qat_sym_capabilities.h b/drivers/crypto/qat/qat_sym_capabilities.h
index a7fb6a0..028a56c 100644
--- a/drivers/crypto/qat/qat_sym_capabilities.h
+++ b/drivers/crypto/qat/qat_sym_capabilities.h
@@ -167,7 +167,7 @@
 					.increment = 0			\
 				},					\
 				.digest_size = {			\
-					.min = 12,			\
+					.min = 4,			\
 					.max = 16,			\
 					.increment = 4			\
 				}					\
-- 
2.1.0


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

* Re: [dpdk-stable] [PATCH] crypto/qat: fix aes cmac mininum digest size
  2019-10-22 14:22 [dpdk-stable] [PATCH] crypto/qat: fix aes cmac mininum digest size Arek Kusztal
@ 2019-10-22 14:34 ` Trahe, Fiona
  2019-10-23 13:46   ` Akhil Goyal
  0 siblings, 1 reply; 3+ messages in thread
From: Trahe, Fiona @ 2019-10-22 14:34 UTC (permalink / raw)
  To: Kusztal, ArkadiuszX, dev; +Cc: akhil.goyal, stable, Trahe, Fiona



> -----Original Message-----
> From: Kusztal, ArkadiuszX
> Sent: Tuesday, October 22, 2019 3:22 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 aes cmac mininum digest size
> 
> AES-CMAC is used in 3gpp specifications hence it is needed
> to support 4 byte digest.
> 
> Fixes: 91c1daa4e1f0 ("crypto/qat: support AES-CMAC")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>

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

* Re: [dpdk-stable] [PATCH] crypto/qat: fix aes cmac mininum digest size
  2019-10-22 14:34 ` Trahe, Fiona
@ 2019-10-23 13:46   ` Akhil Goyal
  0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2019-10-23 13:46 UTC (permalink / raw)
  To: Trahe, Fiona, Kusztal, ArkadiuszX, dev; +Cc: stable


> >
> > AES-CMAC is used in 3gpp specifications hence it is needed
> > to support 4 byte digest.
> >
> > Fixes: 91c1daa4e1f0 ("crypto/qat: support AES-CMAC")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>

Applied to dpdk-next-crypto

Thanks.

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

end of thread, other threads:[~2019-10-23 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 14:22 [dpdk-stable] [PATCH] crypto/qat: fix aes cmac mininum digest size Arek Kusztal
2019-10-22 14:34 ` Trahe, Fiona
2019-10-23 13:46   ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).