Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp927529pxk; Fri, 25 Sep 2020 01:18:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9RZA8vlFhc5je9V+8wmLEywa0x6jrZLInrH0DYxzjA2BDMldmyE+jLwO1UrIT+Q2jZVkO X-Received: by 2002:a17:906:b7d1:: with SMTP id fy17mr1600989ejb.391.1601021883449; Fri, 25 Sep 2020 01:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601021883; cv=none; d=google.com; s=arc-20160816; b=zZl+9IeJ2Q8eCnyGDtxhwjAbdi3i8Y/fNfCKo/Vxehnn+uDjvRhvOAubQcNamE9ShW sbFN2/t97Nlxj+/8PzC8cnmfTlFovz+OxDVu0/+tCVYaCPkl622/TSXOhf/83ax5eWha KDxdV0ULXc7oKMJgOSgZeEyJ5lv2UJYY66DrZTl1R+cgzkCx50E/jP35YnFxI+zQ4Nuv LB9qUW8kEuWlE9U214Lb3H9Qm12yOstLR099jFrJ9Ftn7IxEL93kHQSvX7INqR97i6kL WtjEj4tEUyns3kkEYQc8R/+4hr4OQeIG1K8jUXSNmVFvemf/YYUQWPU3uS/fGO3OAwRy pz+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pzaxlbhih2Py3zGAW27hGu1DF8NupgsI4q0QCr4c71w=; b=XKcDFQezGVRZGh1G5uhQG0vtQjTDJ46GmmwazgUN9G/YrlOZm805nkTr/o7+h2fmIk YfMWV9x4Kr26TL1Kz22r+PfyHHEKzDLhw2NHpIyVVfrq4YJNNYAWLlZtcGLijTcHtpda DylQgV4PnBvhpyVUYwy1CvaDmfobitWLRoadoYoXHDB98iVHv8YptV+OWodDoN4nWEV/ VR/oTYtF4fEXjsY3U9aGSJM1Bd6rQjynhNn0RJrPqDSZHcSggFq5k8bqqXMD8G56qE0N 4vD7cPGkjzBUhS559Of/M9+cdldj8M2T/m2paiMp999HMFqqi/bmQS9zJNp0Q9qQL/Qt I9tQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si1368007edu.131.2020.09.25.01.17.39; Fri, 25 Sep 2020 01:18:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727561AbgIYIQo (ORCPT + 99 others); Fri, 25 Sep 2020 04:16:44 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:53370 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727502AbgIYIQo (ORCPT ); Fri, 25 Sep 2020 04:16:44 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kLiu8-0007Mc-Qc; Fri, 25 Sep 2020 18:16:33 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 25 Sep 2020 18:16:32 +1000 Date: Fri, 25 Sep 2020 18:16:32 +1000 From: Herbert Xu To: Corentin Labbe Cc: davem@davemloft.net, mripard@kernel.org, wens@csie.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v7 00/17] crypto: allwinner: add xRNG and hashes Message-ID: <20200925081632.GP6381@gondor.apana.org.au> References: <1600413795-39256-1-git-send-email-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1600413795-39256-1-git-send-email-clabbe@baylibre.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Sep 18, 2020 at 07:22:58AM +0000, Corentin Labbe wrote: > Hello > > The main goal of this serie is to add support for TRNG, PRNG and hashes > to the sun8i-ss/sun8i-ce driver. > The whole serie is tested with CRYPTO_EXTRA_TESTS enabled and loading > tcrypt. > The PRNG and TRNG are tested with rngtest. > Both LE and BE kernel are tested. > > This serie was tested on: > - sun50i-a64-pine64 > - sun8i-a83t-bananapi-m3 > - sun8i-r40-bananapi-m2-ultra > - sun50i-h5-libretech-all-h3-cc > - sun8i-h3-orangepi-pc > > Regards > > Change since v1: > - removed _crypto_rng_cast patch > > Change since v2: > - cleaned unused variables from sun8i-ce-prng > - added some missing memzero_explicit > > Change since v3: > - rebased on latest next > - removed useless cpu_to_le32() in sun8i-ss > - added 2 last patches > - add handle endianness of t_common_ctl patch > > Change since v4: > - added a style issue patch > > Changes since v5: > - handle failure pattern of pm_runtime_get_sync > - Add missing linux/dma-mapping.h > > Changes since v6: > - fix sparse error in sun8i-ce-cipher.c > > Corentin Labbe (17): > crypto: sun8i-ss: Add SS_START define > crypto: sun8i-ss: Add support for the PRNG > crypto: sun8i-ss: support hash algorithms > crypto: sun8i-ss: fix a trivial typo > crypto: sun8i-ss: Add more comment on some structures > crypto: sun8i-ss: better debug printing > crypto: sun8i-ce: handle endianness of t_common_ctl > crypto: sun8i-ce: move iv data to request context > crypto: sun8i-ce: split into prepare/run/unprepare > crypto: sun8i-ce: handle different error registers > crypto: sun8i-ce: rename has_t_dlen_in_bytes to cipher_t_dlen_in_bytes > crypto: sun8i-ce: support hash algorithms > crypto: sun8i-ce: Add stat_bytes debugfs > crypto: sun8i-ce: Add support for the PRNG > crypto: sun8i-ce: Add support for the TRNG > crypto: sun8i-ce: fix comparison of integer expressions of different > signedness > crypto: sun8i-ss: fix comparison of integer expressions of different > signedness > > drivers/crypto/allwinner/Kconfig | 43 ++ > drivers/crypto/allwinner/sun8i-ce/Makefile | 3 + > .../allwinner/sun8i-ce/sun8i-ce-cipher.c | 116 +++-- > .../crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 381 ++++++++++++++- > .../crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 413 ++++++++++++++++ > .../crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 164 +++++++ > .../crypto/allwinner/sun8i-ce/sun8i-ce-trng.c | 127 +++++ > drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 139 +++++- > drivers/crypto/allwinner/sun8i-ss/Makefile | 2 + > .../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 205 +++++++- > .../crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 444 ++++++++++++++++++ > .../crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 173 +++++++ > drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 89 +++- > 13 files changed, 2240 insertions(+), 59 deletions(-) > create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c > create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c > create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-trng.c > create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c > create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt