patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] crypto/qat: fix SHA512-HMAC supported key size
@ 2017-11-02  9:53 Pablo de Lara
  2017-11-02 12:53 ` Luca Boccassi
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo de Lara @ 2017-11-02  9:53 UTC (permalink / raw)
  To: stable; +Cc: bluca, Pablo de Lara

This commit fixes a backported commit which introduced
an in incorrect value for the maximum supported key size
for SHA512-HMAC.

Fixes: c2cdabf725dc ("crypto/qat: fix HMAC supported key sizes")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 drivers/crypto/qat/qat_crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c
index f7fcece..8b830b8 100644
--- a/drivers/crypto/qat/qat_crypto.c
+++ b/drivers/crypto/qat/qat_crypto.c
@@ -162,7 +162,7 @@ static const struct rte_cryptodev_capabilities qat_pmd_capabilities[] = {
 				.key_size = {
 					.min = 1,
 					.max = 128,
-					.increment = 128
+					.increment = 1
 				},
 				.digest_size = {
 					.min = 64,
-- 
2.9.4

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

* Re: [dpdk-stable] [PATCH] crypto/qat: fix SHA512-HMAC supported key size
  2017-11-02  9:53 [dpdk-stable] [PATCH] crypto/qat: fix SHA512-HMAC supported key size Pablo de Lara
@ 2017-11-02 12:53 ` Luca Boccassi
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Boccassi @ 2017-11-02 12:53 UTC (permalink / raw)
  To: Pablo de Lara, stable

On Thu, 2017-11-02 at 09:53 +0000, Pablo de Lara wrote:
> This commit fixes a backported commit which introduced
> an in incorrect value for the maximum supported key size
> for SHA512-HMAC.
> 
> Fixes: c2cdabf725dc ("crypto/qat: fix HMAC supported key sizes")
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> ---
>  drivers/crypto/qat/qat_crypto.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/crypto/qat/qat_crypto.c
> b/drivers/crypto/qat/qat_crypto.c
> index f7fcece..8b830b8 100644
> --- a/drivers/crypto/qat/qat_crypto.c
> +++ b/drivers/crypto/qat/qat_crypto.c
> @@ -162,7 +162,7 @@ static const struct rte_cryptodev_capabilities
> qat_pmd_capabilities[] = {
>  				.key_size = {
>  					.min = 1,
>  					.max = 128,
> -					.increment = 128
> +					.increment = 1
>  				},
>  				.digest_size = {
>  					.min = 64,

Applied to dpdk-stable/16.11, thanks

-- 
Kind regards,
Luca Boccassi

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

end of thread, other threads:[~2017-11-02 12:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02  9:53 [dpdk-stable] [PATCH] crypto/qat: fix SHA512-HMAC supported key size Pablo de Lara
2017-11-02 12:53 ` Luca Boccassi

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).