From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by dpdk.org (Postfix) with ESMTP id 8A7925688 for ; Fri, 21 Sep 2018 16:54:08 +0200 (CEST) Received: by mail-lf1-f67.google.com with SMTP id q2-v6so1746596lfc.13 for ; Fri, 21 Sep 2018 07:54:08 -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=taEFj+5pB6czMnEwg0aESxahy5zjKcIXm436bErolAQ=; b=yhVVg2mBhLFjD9MO27evUo+cJFxNMOxdzDpFPsa0S7kHW0voUXWgpsIPQOwZfE80tb PjJOKTnUHm8i0MRqQTuSDFA1FtSmMTSum+6CGL6Xif+c049xofldkY6zqiMdHc9l7CSI SImBe+9FhzD3BcFiHdHd1QeRmRBW30W4Me7z7c0uy83yuTAWbIT3MiX+rkUFk+6xN4zl 07lw0sL/Nr9aZgg7v1Qm7nhQX2f5nvLJy3/f009ZpI8cASnLrVz1qfpsQx9tfOTQy4BG rO7dwt6QYte86H53E/LHsxg/j39PGPbwvNBdfyhd317rqvm8ZvLH0AEK+zTYiI5c2EWJ SUMw== 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=taEFj+5pB6czMnEwg0aESxahy5zjKcIXm436bErolAQ=; b=JOtsNl46W7FQP3bk86C7ND7Skxcs9M+H/wp9lozZfoVu4pOlz0DORp1Ev1cEahPe+e OgpU61uC+IaY5/mceCd2s9x3b1nNTTunRTjWmbJuCvJzHf5PhcAJFHP1QhKfnchRgzX/ wRKBrCCTL5JQVs0XIlEWfRFVBGf9rKwWGODUSV9VWVvvLvIIEPvPA+FtTFX5Tq1HUjyj wZgtbDQXB617DF58/jPIBC5uMRYF0RuCDnSogLmJetslbLN2nUJt/sTtm+itD3vF09OU zcppIhxe6K8b5T61Gat/bABIW2P4+i6SkwbFJP9fJC6/aOjXkGXO3S9xdSMPn0AWNLf/ zjig== X-Gm-Message-State: APzg51CC3XP2TT5OhuOJlJbZPV7ItlKhA50ousZSA/dJQgVmp4DUhQgh OHvbsjZPhSA/86sHGegUF+u68o8HRLg= X-Google-Smtp-Source: ANB0VdZvh/wffGIazATUNEgvZydyGl/t2ZFX5/wv6BWZzq1xCP518Go+wXMIV16vF7/Bp/iT6gxk/A== X-Received: by 2002:a19:990c:: with SMTP id b12-v6mr5756397lfe.18.1537541647964; Fri, 21 Sep 2018 07:54:07 -0700 (PDT) Received: from amok.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.googlemail.com with ESMTPSA id d13-v6sm2268744lfi.74.2018.09.21.07.54.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Sep 2018 07:54:07 -0700 (PDT) From: Andrzej Ostruszka To: dev@dpdk.org Cc: mw@semihalf.com, nadavh@marvell.com, Tomasz Duszynski Date: Fri, 21 Sep 2018 16:53:59 +0200 Message-Id: <1537541639-22764-7-git-send-email-amo@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537541639-22764-1-git-send-email-amo@semihalf.com> References: <1535118895-6505-1-git-send-email-tdu@semihalf.com> <1537541639-22764-1-git-send-email-amo@semihalf.com> Subject: [dpdk-dev] [PATCH v2 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, 21 Sep 2018 14:54:09 -0000 From: Tomasz Duszynski 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