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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3C21EE3F08 for ; Tue, 12 Sep 2023 17:35:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:To:From:Subject: Cc:Message-Id:Date:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8Ke3x/qRYSfYdp3ywFACIxPWtS4miLDJ8E9vXy8bE3c=; b=U8XkhYaeDsRRnP HY2IwEBzxGpjb8iunJksHMLlmuiTuFW1DFtQCfBSQiUmrmtrBLen9Ydbu7nRjtCHcHK3/QsS/WBho v0Pjbtn85wDLjjT8b7MCs4/HDJhXyO2gRE3vfXOEX3yOBPfHUpwF3soylpxAU5AK9AKzM/Nf1o654 6uwN90p+dk+cncHmfNxj/pjQ+lMNl8QDN1DemfG6aUmVuaHhKr2/nxJh131+qQps/HxBXsJ/MFIiH GrFoulo3QqIPhvfR+AKB6LKgfrjoXUG92TWlUane0SVggS170GWGtLCMme1EW3sobmLybrvm3oDtN KN1Sd9cnl5lqdJQBQ8tw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg7Hb-003ubs-33; Tue, 12 Sep 2023 17:34:39 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg7HZ-003uaw-0G for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 17:34:38 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 727E361656; Tue, 12 Sep 2023 17:34:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9138C433C8; Tue, 12 Sep 2023 17:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694540075; bh=9GHvDYyDgQ1uQgwUbBG3T6n5VLCoxKnTwH+ebGupVVQ=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=Ue7JlDqOAGqimu3Kkt4LS/bVe302496Rc3b4FBkHFyp80FDSRPk6O5d8jr84wRCfZ iq9xmx0t/GMvCZfny0AAaTfzwpfXsruoUJcqu7ZpagXcyOwon2t6Wjv76YlFnY4E9k pBdjONPwb/Gd3Gjst5vn/JIiYshbbnlZo+dfFV/IOAgQ6MLC8CG5rua0EPfSwikja9 DCjVoD0gbRHUI0p9pn2jrXjlqPEmIQuk7gWw0PWRBx0ifHeEn1KGNywEab2rD2bMyr Jx2GQTaUMFhGMPN/QHRn9nGFXY8m6hIp2yGvJMWR4/v1nkfaOCplAjoQdmd8pMaDRX Ti6LrS8+QAA8w== Mime-Version: 1.0 Date: Tue, 12 Sep 2023 20:34:27 +0300 Message-Id: Cc: "Shawn Guo" , "Jonathan Corbet" , "Sascha Hauer" , "Pengutronix Kernel Team" , "Fabio Estevam" , "NXP Linux Team" , "Ahmad Fatoum" , "sigma star Kernel Team" , "David Howells" , "Li Yang" , "Paul Moore" , "James Morris" , "Serge E. Hallyn" , "Paul E. McKenney" , "Randy Dunlap" , "Catalin Marinas" , "Rafael J. Wysocki" , "Tejun Heo" , "Steven Rostedt (Google)" , , , , , , , , , "Richard Weinberger" , "David Oberhollenzer" Subject: Re: [PATCH v2 1/3] crypto: mxs-dcp: Add support for hardware provided keys From: "Jarkko Sakkinen" To: "David Gstir" , "Mimi Zohar" , "James Bottomley" , "Herbert Xu" , "David S. Miller" X-Mailer: aerc 0.14.0 References: <20230912111115.24274-1-david@sigma-star.at> <20230912111115.24274-2-david@sigma-star.at> In-Reply-To: <20230912111115.24274-2-david@sigma-star.at> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_103437_186872_8FD58533 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue Sep 12, 2023 at 2:11 PM EEST, David Gstir wrote: > @@ -101,6 +102,7 @@ struct dcp_async_ctx { > struct crypto_skcipher *fallback; > unsigned int key_len; > uint8_t key[AES_KEYSIZE_128]; > + bool refkey; > }; s/refkey/key_referenced/ No reason to obfuscate it, especially since there is no supporting documentation. BR, Jarkko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel