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 X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED, USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8A0DC43381 for ; Tue, 26 Mar 2019 09:46:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 81CF020830 for ; Tue, 26 Mar 2019 09:46:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cdH06cTX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Pn+tIJ68" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81CF020830 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=iki.fi Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=637Vk5hcRdV/1ca5VYZQwif5vUXzG+K6X+tcrs1aECk=; b=cdH06cTX8s03c/ BDp2CkohMJywOPhGw+SLQmZvJiDaYs+cLx3I+jYauZ8BBpeJ7ULcfTfRuS7VvsKaI4rvirGSmz56m ii1UzKyDFEycdChLhj7MCzcv8KKnZzbLXIYiRw+txBb8srtaLCACxiUiYHu1pkQJ1VTHnBwLb5FIc +3JFDoGAf4hUDPZtjJTIH0r5qamHIcbr5SKLvf3qUiweoskFapoqSAuYWVvf2L3A/bZHk6jKXjn5B jymnuhv+M3NXK/mHFpoCDaKwKCEMSHgYZFGWKu+UKxs9ai+hpp4B4Sp/fBVNhpahfeGbQszT9jBIp C1WAcrtHhgpAfufx6aJg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8if3-0004og-NG; Tue, 26 Mar 2019 09:46:25 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8if1-0004oK-Dt for linux-arm-kernel@bombadil.infradead.org; Tue, 26 Mar 2019 09:46:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iIzaAnq5iPLa+FyJKmK9QowRp48FjX7Ye1+P16WoRM4=; b=Pn+tIJ68mzX5bcIJmTg593p0p YzFDYwu+0OwGbjX/mLSv14J6lnNAs1t6JFKqDDpnLgQ6CbgIG7mIskPP5EwVbnwoLVXsNyugIvQHj N42d8rpwNKxiFYIBtGVU80j/w6tQFb69KgyNgKyN4OlTTDn1HF126y8V1DMAzDpcIZ4Rq/HXfmHOU 6uByG5Rc3djsJVHPl2sgoVDLzPUzz64YIjxNVECDuMYiXGOZ1RK2zWAAa8zJWdcqwxD2dbnCn2tmJ 4R4PIob+toGFeQy47b7UvAHhiJs2fe3IC7HXMKXH6+3ZEeXVIf59peppyY4KoIBbKnide8EEFD2gp qQmVxcGKA==; Received: from stretch.kos.to ([51.15.203.87] helo=pilvi.kos.to) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8iex-0002gb-0p for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2019 09:46:21 +0000 Received: from 08efd375aeba (unknown [172.17.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pilvi.kos.to (Postfix) with ESMTPSA id B0AE62411D2; Tue, 26 Mar 2019 09:46:03 +0000 (UTC) Received: (nullmailer pid 32707 invoked by uid 1000); Tue, 26 Mar 2019 09:46:03 -0000 Date: Tue, 26 Mar 2019 09:46:03 +0000 From: Riku Voipio To: Pascal Van Leeuwen Subject: Re: [PATCH 0/17] Add zinc using existing algorithm implementations Message-ID: <20190326094603.nyfi2dsnt6a6u57f@08efd375aeba> References: <20190322062740.nrwfx2rvmt7lzotj@gondor.apana.org.au> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_094619_142544_F738B27D X-CRM114-Status: GOOD ( 16.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Jason A. Donenfeld" , Herbert Xu , Ard Biesheuvel , LKML , Eric Biggers , "linux-fscrypt@vger.kernel.org" , Linux Crypto Mailing List , Linus Torvalds , "David S. Miller" , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 25, 2019 at 09:10:08AM +0000, Pascal Van Leeuwen wrote: > As someone who has been working on crypto acceleration hardware for the better > part of the past 20 years, I feel compelled to respond to this, in defence of > the crypto API (which we're really happy with ...). Thanks for joining in. > We have done plenty of measurements, on both power and performance, to prove > you wrong there. Typically our HW needs *at least* a full order of a magnitude > less power to do the actual work. The CPU load for handing the interrupts etc. > tends to be around 20%. So assuming the CPU goes to sleep for the other 80% > of the time, the combined solution would need about 1/3rd of the power of a > CPU only solution. It's one of our biggest selling points. I actually have the kind of (relatively) low-power system with your crypto accelerator IP. But it doesn't matter how great performance or energy saving I would get from using crypto offloading. I will continue to use CPU only solution for the foreseeable future. Because of one tiny problem: The firmware files for eip197(?) crypto accelerator are secrets we are not allowed download anywhere from. > Pascal van Leeuwen, > Silicon IP Architect @ Inside Secure Riku _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel