Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1221509ybe; Fri, 13 Sep 2019 13:00:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpWY1wKzcVLTJ5b12yXyfH4BrCw6+eROXiwp3iQSRW26tmm5AdHtU9+4CQUVLbtFPrnyly X-Received: by 2002:aa7:ce81:: with SMTP id y1mr48932189edv.188.1568404813061; Fri, 13 Sep 2019 13:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568404813; cv=none; d=google.com; s=arc-20160816; b=XT6oAUmRFxfwhwkGLit3KtRpcRfqqGKnuOwM0Q0gXZUnqApYpwQVAZoGLWoG/9gmXr 1P8B6cRQcOkIMk+2aCT/gWSiD/x8lOhl8efNG7HCKjJCqXLvhkP35LSUeko0S2wI5cQ/ VLAHb3f8b3jY2QbeRBATY7nj2n3pipG0o7hnbyq8xAxKIic6twVAM7NAqTpBG332nyZu h7rmQcFSHmGxzbO8EiZ6P9/qMDT2oEg20ZalZbROpQLUdehr3TUB25rq2o8qqtGLgT88 GwFyMuhooiEK3wKsF+wzo+gIUqM1BVvZ+CEkQHFFOQDRl2u1Rdzhj2tH7MyjF0zJEDxm BOoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=99D+Bdz1iAyW31OkwtjCR8anZQFy/QR6OerJdff2IWQ=; b=LESUKM8Huj2Lc7aRjD0JB3eAyW0QRuu0n/tC52oT+oon8NSEZs6/Exj6oyEUcjNdW/ Ts5Jod14PMg1wpVXxR+bmTZtvKmG1gJI8aaZ3YmB7zwbLdAzXB+iX5yQ9/7NpKLU+pLe Nq286FQ/OTzDLsA+W5kHkcnJ9HSsaEXGdeeZw3UWIv1z1IEnLdCC2mr7hi4Umtg9OWJ5 cmI7mskWMePkDb+yzUwEWrtuwQfQqiZL24HunAQ/oOgFV+6Gk9PbF1wQ8xSCWa1CnlaT caU4k2BaU0htjl5a7J1wDEzDed2LruJgi2kds2IpXRNDL6sM8mTSV2MElyVfo00knoTw yDmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZsLodRlP; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a36si13863482edf.123.2019.09.13.12.59.43; Fri, 13 Sep 2019 13:00:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZsLodRlP; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388638AbfIMTEr (ORCPT + 99 others); Fri, 13 Sep 2019 15:04:47 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:41702 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728935AbfIMTEp (ORCPT ); Fri, 13 Sep 2019 15:04:45 -0400 Received: by mail-ed1-f68.google.com with SMTP id z9so27916258edq.8 for ; Fri, 13 Sep 2019 12:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=99D+Bdz1iAyW31OkwtjCR8anZQFy/QR6OerJdff2IWQ=; b=ZsLodRlP/FKcfkjQ8Ydd5kLPygahH96a97bnJ2yVpWHI3dOx6JL169u1J5LHGp099d 5LdruAJ6fekayYBcoHtu0ni5i2AwGfKHjvYBLiFr9KLhYRcMz+SfFJqLbu/y0RHJtfdd vdu1SMao2layU8vFeXKSbFCJo8iXx/+/05nzPknNnTqE6MQGHLxCYjMEDIwamj95hNTf pQIYB1BtCc+JtFQBV70IcSpBKHjiXgJHx1FE70JvY33/zQoLVeWbvhN7zfGRCx835AN4 rh+Pv3iK+/el3brLp1gw7lgFyWbqrKXw6jws0YL/MriWPnVKRldGrsirRygs2qUEN6qG 6dUA== 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; bh=99D+Bdz1iAyW31OkwtjCR8anZQFy/QR6OerJdff2IWQ=; b=nvm1PjGQyVQY/Z7N5ax2ZzsVQJvPoBxYiN8HEgHbSt2UN52MyxNZqZShwkU86h8RDu Gg0RuLuyAP3l44BgyVdMkpOJUjXkcM4LIPxUm/d0mW5S3lgJQAmz/GOeirR7XOa8yKNc TvBLu9Fb+74P/LQSWRelLTScT58narNu+YCcfgfMjlqPMWRxipkKknTJ4f2mLpanCGDj 1D7MAbmN8lhd8tcl4HOrpcDh1bNLWm2Y/SHJ2Vvk67prGbNNyaWiAb3Jzl9daQNEVXKz OZx6p/qhDENVsF/vNN8J4Qg8Sw4F+wfojmwGssIH8MzJutTeiUMvAkY50AvDcff3YYk1 cDrQ== X-Gm-Message-State: APjAAAUb95udRlvy08grGn7Khs6ohGFli0BvmOzuC4bOMkP55LWJBVhX NGvkINWN2XuuVqqek78wVGOOnMlL X-Received: by 2002:a05:6402:516:: with SMTP id m22mr27777088edv.83.1568401483195; Fri, 13 Sep 2019 12:04:43 -0700 (PDT) Received: from localhost.localdomain.com ([188.204.2.113]) by smtp.gmail.com with ESMTPSA id ba28sm49099edb.4.2019.09.13.12.04.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Sep 2019 12:04:42 -0700 (PDT) From: Pascal van Leeuwen X-Google-Original-From: Pascal van Leeuwen To: linux-crypto@vger.kernel.org Cc: antoine.tenart@bootlin.com, herbert@gondor.apana.org.au, davem@davemloft.net, Pascal van Leeuwen Subject: [PATCHv3 0/3] crypto: inside-secure: Add support for the Chacha20 skcipher and the Chacha20-Poly1305 AEAD suites Date: Fri, 13 Sep 2019 20:01:52 +0200 Message-Id: <1568397715-2535-1-git-send-email-pvanleeuwen@verimatrix.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Extend driver support with chacha20, rfc7539(chacha20,poly1305) and rfc7539esp(chacha20,poly1305) ciphers. The patchset has been tested with the eip197c_iesb and eip197c_iewxkbc configurations on the Xilinx VCU118 development board, including the crypto extra tests. Note that this patchset applies on top of the earlier submitted "Add support for the CBCMAC" series. changes since v1: - rebased on top of DES library changes done on cryptodev/master - fixed crypto/Kconfig so that generic fallback is compiled as well changes since v2: - made switch entry SAFEXCEL_AES explit and added empty default, as requested by Antoine Tenart. Also needed to make SM4 patches apply. Pascal van Leeuwen (3): crypto: inside-secure - Added support for the CHACHA20 skcipher crypto: inside-secure - Add support for the Chacha20-Poly1305 AEAD crypto: Kconfig - Add CRYPTO_CHACHA20POLY1305 to CRYPTO_DEV_SAFEXCEL drivers/crypto/Kconfig | 3 +- drivers/crypto/inside-secure/safexcel.c | 3 + drivers/crypto/inside-secure/safexcel.h | 11 + drivers/crypto/inside-secure/safexcel_cipher.c | 335 ++++++++++++++++++++++++- 4 files changed, 338 insertions(+), 14 deletions(-) -- 1.8.3.1