From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id C34ED5688 for ; Fri, 24 Aug 2018 15:55:15 +0200 (CEST) Received: by mail-lj1-f194.google.com with SMTP id v26-v6so3151443ljj.3 for ; Fri, 24 Aug 2018 06:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zc6fh/azjYU6ZV6OP9lfbL1bke4aReE+xV8K04XViZI=; b=IMP1Z3oi2PwucrM+Xe/jXsAIXiWs7dLcoxoZ9TcQLaVIN/oZ51DIODF6JB0EqwIspV Kot1kHmIbebQ/dy7bPJkcDf9WEizt4Z4XjN6qkBfD/lpAY8rqn6on7Koarjaf1eUmQSi P/bx0JgAui7r+62kikAKIylm6LK9/VelljRlcTJi4t6KPCqmhSSLlmeZzOjytGHSo1wt fFqAGy2QnoJOJGUR0upyVNaGpQS2otExAocC8LiOTZRssBbOkEOygZWiw2RArfGenib/ aMZDXZjup1GBOwn4NlNjodVfm3b+yGQYuouU5PKw9xt1E59/i/J4lzmYMJkYGIZVhvPD tQYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zc6fh/azjYU6ZV6OP9lfbL1bke4aReE+xV8K04XViZI=; b=th6w0GygEaziqgr6MWPvlXGjCSeUAS2E0O7Aoe3hdf/pKudUMYabRuoCZnpjFLIzmh GryVzNKZ5MIgBdu8KOQ9gbXethoUYA6bOfit6fHSd14vSar8pBg5KaedwW2U/ArPoF+h ytthCdm+R3AT+V40+8+gNsc6w7DJk1PesrV2Fj3ONu3C4BDwFk7yLYzCc96JIzcQy/D1 Iiu5l/DMVWyAeEty5BxD1Sdkgwl1I7UFWS5GddhPTEX9avsg3vRyErm5yhPQMNbgyOS6 JYM65JvGP5BNEilxUTQAw+qzlFLYrTZs+2BWwcdUKvdywlV5P7zUR4jpCcSSDLnrdMpQ rl5A== X-Gm-Message-State: APzg51BeUv7Yt/tE4XQimrKFR3Rh/Zr7RzhS3Vin12VPkAiMX9jacOat 5blEGbDhoSH1J0Tn6q6oX3/kR5uz9pQ= X-Google-Smtp-Source: ANB0VdYra8yzHuZ1mheCQ025JbfyA9ejy98O1l2rv2A4OyXPO9ItrnHa0ghc6zSTVDb+6mkuIQ4gUg== X-Received: by 2002:a2e:350b:: with SMTP id z11-v6mr1537092ljz.55.1535118915340; Fri, 24 Aug 2018 06:55:15 -0700 (PDT) Received: from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h71-v6sm1352003lfg.64.2018.08.24.06.55.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Aug 2018 06:55:14 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com, Tomasz Duszynski Date: Fri, 24 Aug 2018 15:54:55 +0200 Message-Id: <1535118895-6505-7-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535118895-6505-1-git-send-email-tdu@semihalf.com> References: <1535118895-6505-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH 6/6] crypto/mvsam: add 3DES ECB to the capabilities list X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2018 13:55:16 -0000 3DES in ECB mode is supported by the PMD thus specific entry should exist in the crypto PMD capabilities list. Signed-off-by: Tomasz Duszynski Reviewed-by: Natalie Samsonov --- drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c index f3251aa..62f5a2a 100644 --- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c +++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c @@ -413,6 +413,26 @@ static const struct rte_cryptodev_capabilities }, } }, } }, + { /* 3DES ECB */ + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, + {.sym = { + .xform_type = RTE_CRYPTO_SYM_XFORM_CIPHER, + {.cipher = { + .algo = RTE_CRYPTO_CIPHER_3DES_ECB, + .block_size = 8, + .key_size = { + .min = 24, + .max = 24, + .increment = 0 + }, + .iv_size = { + .min = 0, + .max = 0, + .increment = 0 + } + }, } + }, } + }, { /* NULL (AUTH) */ .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, {.sym = { -- 2.7.4