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=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 E8BE7C433E0 for ; Tue, 30 Jun 2020 07:59:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 B6D392067D for ; Tue, 30 Jun 2020 07:59:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jFlowu9D"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="JnlsUt/z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B6D392067D Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5SpvV8xGSPXNBbpyIXGpkDz94F/D0FN5LNBKbF6Spao=; b=jFlowu9DuWarkrw6g3pZz+hg3 +LkU6+Y6x0IhCJ73F01AhXnaw3lyOVt6w6N0QE71oWdks4l4ERqux83xXp4JLnKn/ROt41gjBAkNi DrygIElQ8PIXCPHdGU70MM+bCO6e3knm3L/blfJgrgp5rKmTzAMRN2HzCF1YPAjLO5c3/N+ubIRQG sigmqm0Qn5PzTkfG01VJCv2zxVmlQHqOawj5SRAUH+RfUooIMhb0sqv+7gpE/+7jQHzmm92K4G7ZU v8EwrhPtpX6Dnk16kBdHmOfbMGCOhwDK/ouCC7AkGfSm29td41mfpeNdk7qmTRsFcqOQJ1P+LS63D +y7NGsmsg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqBAC-00021q-8W; Tue, 30 Jun 2020 07:58:44 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jqBA9-00021Q-Dd for linux-arm-kernel@lists.infradead.org; Tue, 30 Jun 2020 07:58:42 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05U7wV0k054893; Tue, 30 Jun 2020 02:58:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593503911; bh=nvfL5poyGys3W+9W9HLXNoQ7ZHq7SSfDdzA2HrYk/Ek=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=JnlsUt/z10Wzq/ogg6QDAsjOxeiUS1QF/z4UM0YKpgz+cajUR6Y7VNGJlXlsYbuye mVUE4R33nqR04+qPZlVcW7zxRiOWHK4CEOUx9UJGARJx6Coq/LM2PvDs51ztezVySc +93o7JOdPOmWHcIwE4RyVfLjbmvH50iqM9zx5+cU= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05U7wVG7015191 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 Jun 2020 02:58:31 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 30 Jun 2020 02:58:31 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 30 Jun 2020 02:58:31 -0500 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05U7wSUt096565; Tue, 30 Jun 2020 02:58:29 -0500 Subject: Re: [PATCHv4 3/7] crypto: sa2ul: add sha1/sha256/sha512 support To: Herbert Xu References: <20200615071452.25141-1-t-kristo@ti.com> <20200615071452.25141-4-t-kristo@ti.com> <20200626043155.GA2683@gondor.apana.org.au> <2a89ea86-3b9e-06b5-fa8e-9dc6e5ad9aeb@ti.com> <20200630044936.GA22565@gondor.apana.org.au> <20200630074645.GA2449@gondor.apana.org.au> <20200630075435.GA3885@gondor.apana.org.au> From: Tero Kristo Message-ID: <0a07585c-af4a-f08b-af5a-232cb4c351d4@ti.com> Date: Tue, 30 Jun 2020 10:58:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200630075435.GA3885@gondor.apana.org.au> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: j-keerthy@ti.com, davem@davemloft.net, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 30/06/2020 10:54, Herbert Xu wrote: > On Tue, Jun 30, 2020 at 10:52:57AM +0300, Tero Kristo wrote: >> >> How about making the buffer size configurable during probe time via module >> param, and/or runtime via sysfs parameter? This would allow system designers >> to tune it based on expected usecases. > > Why do you even need to support this? What's the use-case? Openssl uses init->update->final sequencing, and it would be nice to have this use crypto accelerator. Otherwise we basically support cipher acceleration from openssl, but not hashing. > FWIW IPsec only uses digest. IPSec only uses digest yes, this is not an issue. -Tero -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel