From f86e63bc7314b314e44a530a6f384ef72b8d1dd9 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Thu, 13 Apr 2017 17:34:56 +0100 Subject: [PATCH] crypto/qat: fix incomplete capabilities After the refactoring of the capabilities, AES DOCSIS BPI algorithm was left out. Fixes: 6a3c87bc6a6c ("crypto/qat: refactor capabilities infrastructure") Signed-off-by: Pablo de Lara --- drivers/crypto/qat/qat_crypto_capabilities.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h index 0f5e7d68c0..fbd0c12cec 100644 --- a/drivers/crypto/qat/qat_crypto_capabilities.h +++ b/drivers/crypto/qat/qat_crypto_capabilities.h @@ -297,6 +297,26 @@ }, } \ }, } \ }, \ + { /* AES DOCSIS BPI */ \ + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, \ + {.sym = { \ + .xform_type = RTE_CRYPTO_SYM_XFORM_CIPHER, \ + {.cipher = { \ + .algo = RTE_CRYPTO_CIPHER_AES_DOCSISBPI,\ + .block_size = 16, \ + .key_size = { \ + .min = 16, \ + .max = 16, \ + .increment = 0 \ + }, \ + .iv_size = { \ + .min = 16, \ + .max = 16, \ + .increment = 0 \ + } \ + }, } \ + }, } \ + }, \ { /* SNOW 3G (UEA2) */ \ .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, \ {.sym = { \ -- 2.20.1