From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3BAAC433EF for ; Fri, 6 May 2022 10:22:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390948AbiEFK0G (ORCPT ); Fri, 6 May 2022 06:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234196AbiEFK0C (ORCPT ); Fri, 6 May 2022 06:26:02 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C933B5DBFD; Fri, 6 May 2022 03:22:19 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1nmv6F-00AgIF-If; Fri, 06 May 2022 20:22:17 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 06 May 2022 18:22:15 +0800 Date: Fri, 6 May 2022 18:22:15 +0800 From: Herbert Xu To: meenakshi.aggarwal@nxp.com Cc: Horia Geanta , Pankaj Gupta , Gaurav Jain , Varun Sethi , "David S . Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH v5 1/1] crypto: caam/rng: Add support for PRNG Message-ID: References: <20220429084527.2069402-1-meenakshi.aggarwal@nxp.com> <20220429114808.147108-1-meenakshi.aggarwal@nxp.com> <20220429114808.147108-2-meenakshi.aggarwal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220429114808.147108-2-meenakshi.aggarwal@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 29, 2022 at 01:48:08PM +0200, meenakshi.aggarwal@nxp.com wrote: > From: Meenakshi Aggarwal > > Add support for random number generation using PRNG > mode of CAAM and expose the interface through crypto API. > > According to the RM, the HW implementation of the DRBG follows > NIST SP 800-90A specification for DRBG_Hash SHA-256 function > > Signed-off-by: Meenakshi Aggarwal > Reviewed-by: Horia Geant > --- > drivers/crypto/caam/Kconfig | 8 ++ > drivers/crypto/caam/Makefile | 1 + > drivers/crypto/caam/caamprng.c | 235 +++++++++++++++++++++++++++++++++ > drivers/crypto/caam/intern.h | 15 +++ > drivers/crypto/caam/jr.c | 3 +- > 5 files changed, 261 insertions(+), 1 deletion(-) > create mode 100644 drivers/crypto/caam/caamprng.c Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt