Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp520485lqp; Fri, 5 Apr 2024 00:08:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSbq5Zrm6xdgxwjUGnEztKgj5wr+DWf6ClhefY5hnDZ+NqUx/jEHiDezZQz0zlxaOsaiiGMVWlqqCp2AAj6SJllrnbk1yWO/3ZywLxgw== X-Google-Smtp-Source: AGHT+IEf/zgW3Dpcuxn077fBddE5o+ykoBBYimR389lTNY22vXoTsCTt18gf6fPMXcdteFJ714OI X-Received: by 2002:a05:6a20:8f18:b0:1a3:dc13:9146 with SMTP id b24-20020a056a208f1800b001a3dc139146mr1030209pzk.8.1712300928015; Fri, 05 Apr 2024 00:08:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712300928; cv=pass; d=google.com; s=arc-20160816; b=s+0LMYeYTNniBPrcDZvcqhJ9tlXSbBatqbpZFkROX8vvv1kPGFD+947QC04f39W3M7 AOs/UMTpIl7OoOWmjf4UXPjc/qK/I2sE1zxNLhCkHeCk2kpoNIaoQyQ226xsS551Floh pChKZb1sRsruE65WJyYby5PNnxnIA1T95XqMwYI0IU7q71Crq1OX64rKHpNFQHaf2J5N vYGK7jE+twrNn8DCm2DuVSwk2BdIXY1sijyXZsJVnCimL6M4tzsaYS6jBCyIcrTfAyep Tz55Lo6mnFX4u/Eqs9hVAXEjvyB+AiDc2djbKH+uSVnPo0xnYFzW3uNySxndP323o0X+ ef7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=vM/K76QRx4B9PliLnfUbdPspiI0ltCFaXnHfXo9GnSg=; fh=Z6+jWY41OqTO0FE99sgUPtNAogiVbCkER0GWxTzdMOw=; b=dvgxunZ/1wQ7izFTXos9lEq1lJp4g3VBdD/DEnXLiB/cwx/HuHA4UBdMAfdLhMwcQz CT+fl6GTIrGLS10J6w2Kv3iCwoD/BQKO/UZzptQY1ubztVr+ev5k/u3B9D3PE+/+ZNZj 3PQjaPkHgoAVcWitENvS7aiW8tHpRkMq3Fv9h897iMdrFOcwXMP3sxt4cG3FOwYiC1Ap ZlTx8mqSGcIb011dDvyXE1nzDl0HdhluZnOWWkSih9ERcj9tnIFQGl/am73+Gud7kwSP Q2L/gmeuZq4EjxdTZzUBGVESos7fWX+6mErIdIuvMAMBB4uP/bUPjANLZIrYusjyChfW 5SSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au dmarc=pass fromdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-3354-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3354-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=QUARANTINE dis=NONE) header.from=apana.org.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o15-20020a17090ab88f00b002a46f059bf0si507968pjr.41.2024.04.05.00.08.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 00:08:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3354-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gondor.apana.org.au dmarc=pass fromdomain=gondor.apana.org.au); spf=pass (google.com: domain of linux-crypto+bounces-3354-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3354-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=REJECT sp=QUARANTINE dis=NONE) header.from=apana.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 85C852819FC for ; Fri, 5 Apr 2024 07:08:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB1572C19C; Fri, 5 Apr 2024 07:08:44 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61A7428E11 for ; Fri, 5 Apr 2024 07:08:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=144.6.53.87 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300924; cv=none; b=daYOshg9vLhKzF1L/f4JqV3qHJiidnxofZfUc5bSO+u+tgr8bE6+ZUB30k2eiP5GBYz6LkrVz3laFlEAkqiRRnv9wYHYuGo1w85xsRYwvl6ifP5Nyp5UHb9V5/bexP5cvuzjFMIZ5rniLFQbH/4pG143XONTPAsCgW4st72X7wY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300924; c=relaxed/simple; bh=U1mc75I4sm7V2Bh1tHMJIxztG8sheBdbDYkJzw+oBc8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o6xxmf3o03sHXf/Sa8hs3vr47mH0z2czS/SRuIKwZyUYTedM9tNuQ2gRePSMKSDx9NWWqjWx6MdZb01S5fCYZF/GUR77A83uk8eD5YgiG+0kQXXYtc6HcT1dqtc3Tus+1ZiuWzqEs0nM087czewfTuex1SbCg/46ju7aHeAYfDY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gondor.apana.org.au; spf=pass smtp.mailfrom=gondor.apana.org.au; arc=none smtp.client-ip=144.6.53.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gondor.apana.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gondor.apana.org.au Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1rsdgj-00FT7v-Oe; Fri, 05 Apr 2024 15:08:38 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 05 Apr 2024 15:08:54 +0800 Date: Fri, 5 Apr 2024 15:08:54 +0800 From: Herbert Xu To: Pavitrakumar M Cc: linux-crypto@vger.kernel.org, Ruud.Derwig@synopsys.com, manjunath.hadli@vayavyalabs.com, bhoomikak@vayavyalabs.com Subject: Re: [PATCH v1 0/4] Add spacc crypto driver support Message-ID: References: <20240328182652.3587727-1-pavitrakumarm@vayavyalabs.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240328182652.3587727-1-pavitrakumarm@vayavyalabs.com> On Thu, Mar 28, 2024 at 11:56:48PM +0530, Pavitrakumar M wrote: > Add the driver for SPAcc(Security Protocol Accelerator), which is a > crypto acceleration IP from Synopsys. The SPAcc supports many cipher, > hash, aead algorithms and various modes.The driver currently supports > below, > > aead: > - ccm(sm4) > - ccm(aes) > - gcm(sm4) > - gcm(aes) > - rfc8998(gcm(sm4)) > - rfc7539(chacha20,poly1305) > > cipher: > - cbc(sm4) > - ecb(sm4) > - ofb(sm4) > - cfb(sm4) > - ctr(sm4) > - cbc(aes) > - ecb(aes) > - ctr(aes) > - xts(aes) > - cts(cbc(aes)) > - cbc(des) > - ecb(des) > - cbc(des3_ede) > - ecb(des3_ede) > - chacha20 > - xts(sm4) > - cts(cbc(sm4)) > - ecb(kasumi) > - f8(kasumi) > - snow3g_uea2 > - cs1(cbc(aes)) > - cs2(cbc(aes)) > - cs1(cbc(sm4)) > - cs2(cbc(sm4)) > - f8(sm4) > > hash: > - michael_mic > - sm3 > - hmac(sm3) > - sha3-512 > - sha3-384 > - sha3-256 > - sha3-224 > - hmac(sha512) > - hmac(sha384) > - hmac(sha256) > - hmac(sha224) > - sha512 > - sha384 > - sha256 > - sha224 > - sha1 > - hmac(sha1) > - md5 > - hmac(md5) > - cmac(sm4) > - xcbc(aes) > - cmac(aes) > - xcbc(sm4) > - sha512-224 > - hmac(sha512-224) > - sha512-256 > - hmac(sha512-256) > - mac(kasumi_f9) > - mac(snow3g) > - mac(zuc) > - sslmac(sha1) > - shake128 > - shake256 > - cshake128 > - cshake256 > - kcmac128 > - kcmac256 > - kcmacxof128 > - kcmacxof256 > - sslmac(md5) We don't add hardware implementations without software counterparts. So please prune your list of algorithms according to this rule. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt