crypto/qat: fix AAD capabilities for AES-GCM
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Tue, 25 Apr 2017 14:41:14 +0000 (15:41 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 28 Apr 2017 15:46:19 +0000 (17:46 +0200)
Fix aad capabilities for AES-GCM authtentication, aad is changed
from range 8-12 to 0-240

Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")
Cc: stable@dpdk.org
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_crypto_capabilities.h

index fbd0c12..1294f24 100644 (file)
                                        .increment = 4                  \
                                },                                      \
                                .aad_size = {                           \
-                                       .min = 8,                       \
-                                       .max = 12,                      \
-                                       .increment = 4                  \
+                                       .min = 0,                       \
+                                       .max = 240,                     \
+                                       .increment = 1                  \
                                }                                       \
                        }, }                                            \
                }, }                                                    \