* [dpdk-dev] [PATCH] crypto/qat: fix SHA384-HMAC block size
@ 2017-07-25 6:33 Pablo de Lara
2017-07-27 9:42 ` Trahe, Fiona
0 siblings, 1 reply; 3+ messages in thread
From: Pablo de Lara @ 2017-07-25 6:33 UTC (permalink / raw)
To: fiona.trahe, deepak.k.jain, john.griffin; +Cc: dev, Pablo de Lara, stable
Block size of SHA384-HMAC algorithm is 128 bytes,
and not 64 bytes.
Fixes: d905ee32d0dc ("crypto/qat: add aes-sha384-hmac capability")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
drivers/crypto/qat/qat_crypto_capabilities.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h
index 567e1ac..6dd4b71 100644
--- a/drivers/crypto/qat/qat_crypto_capabilities.h
+++ b/drivers/crypto/qat/qat_crypto_capabilities.h
@@ -104,7 +104,7 @@
.xform_type = RTE_CRYPTO_SYM_XFORM_AUTH, \
{.auth = { \
.algo = RTE_CRYPTO_AUTH_SHA384_HMAC, \
- .block_size = 64, \
+ .block_size = 128, \
.key_size = { \
.min = 128, \
.max = 128, \
--
2.9.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] crypto/qat: fix SHA384-HMAC block size
2017-07-25 6:33 [dpdk-dev] [PATCH] crypto/qat: fix SHA384-HMAC block size Pablo de Lara
@ 2017-07-27 9:42 ` Trahe, Fiona
2017-07-27 14:44 ` De Lara Guarch, Pablo
0 siblings, 1 reply; 3+ messages in thread
From: Trahe, Fiona @ 2017-07-27 9:42 UTC (permalink / raw)
To: De Lara Guarch, Pablo, Jain, Deepak K, Griffin, John; +Cc: dev, stable
> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Tuesday, July 25, 2017 7:34 AM
> To: Trahe, Fiona <fiona.trahe@intel.com>; Jain, Deepak K <deepak.k.jain@intel.com>; Griffin, John
> <john.griffin@intel.com>
> Cc: dev@dpdk.org; De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; stable@dpdk.org
> Subject: [PATCH] crypto/qat: fix SHA384-HMAC block size
>
> Block size of SHA384-HMAC algorithm is 128 bytes,
> and not 64 bytes.
>
> Fixes: d905ee32d0dc ("crypto/qat: add aes-sha384-hmac capability")
> Cc: stable@dpdk.org
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] crypto/qat: fix SHA384-HMAC block size
2017-07-27 9:42 ` Trahe, Fiona
@ 2017-07-27 14:44 ` De Lara Guarch, Pablo
0 siblings, 0 replies; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2017-07-27 14:44 UTC (permalink / raw)
To: Trahe, Fiona, Jain, Deepak K, Griffin, John; +Cc: dev, stable
> -----Original Message-----
> From: Trahe, Fiona
> Sent: Thursday, July 27, 2017 10:42 AM
> To: De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; Jain, Deepak K
> <deepak.k.jain@intel.com>; Griffin, John <john.griffin@intel.com>
> Cc: dev@dpdk.org; stable@dpdk.org
> Subject: RE: [PATCH] crypto/qat: fix SHA384-HMAC block size
>
>
>
> > -----Original Message-----
> > From: De Lara Guarch, Pablo
> > Sent: Tuesday, July 25, 2017 7:34 AM
> > To: Trahe, Fiona <fiona.trahe@intel.com>; Jain, Deepak K
> > <deepak.k.jain@intel.com>; Griffin, John <john.griffin@intel.com>
> > Cc: dev@dpdk.org; De Lara Guarch, Pablo
> > <pablo.de.lara.guarch@intel.com>; stable@dpdk.org
> > Subject: [PATCH] crypto/qat: fix SHA384-HMAC block size
> >
> > Block size of SHA384-HMAC algorithm is 128 bytes, and not 64 bytes.
> >
> > Fixes: d905ee32d0dc ("crypto/qat: add aes-sha384-hmac capability")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Applied to dpdk-next-crypto.
Pablo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-27 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-25 6:33 [dpdk-dev] [PATCH] crypto/qat: fix SHA384-HMAC block size Pablo de Lara
2017-07-27 9:42 ` Trahe, Fiona
2017-07-27 14:44 ` De Lara Guarch, Pablo
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).