Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1201341ybh; Thu, 16 Jul 2020 06:07:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ2GIJ0epJefKj5nS5QrLXgETOzdh9tpFKJvzM6evqFkKAAAzwsvLnFDUl99+NayUMwQQx X-Received: by 2002:a17:906:3a04:: with SMTP id z4mr3508230eje.441.1594904841749; Thu, 16 Jul 2020 06:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594904841; cv=none; d=google.com; s=arc-20160816; b=CAqRCmdr7O/uSr0SWpvWfDRgo4bLfWTStEPSZXR0VBCmx81XIknNVj79vrQ66ejbR3 zBx6EuwbWY0jR1tYD2Jv30+vMaFonbqmgPyhQ15p0FuDQigXV03dmqRdAaE3XYtZ6C1O wREPN8e/KB2BJUlNi+JvJ+MiyI+c5WQCDV55f4o6GasydDmrlzhj0K3f5XAYPhaS4K3B Y/oLzvgY0ON9m/IytncFWRtIWAd4IPPZIwgSUWDCVDzHpedHu3i1dO34KtICFNjD1cLj 2OaJ/6Ti84iV7LdY1kEWbvqZBAbCzzPkMZ6ib9/rGkC9qO0dqy/WSIeehdAuzoTW+Rh/ /4VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AMuANCpoby5ltR+ToorgtDkIkmERybcZSvTUEM3GERI=; b=njaPf6WSLnV9fn4RGyASFbskwoun759lAvntpskVyfUs2JYOs/BlofGLDcr1by/oOH dYC1O7RS+wEqUzK2Q9mVlrCO2m0wCb8tFu403uX3z/PUzq9nTiH5GyVmbVCk4qDIiyI6 4ajCqUl9hnc4qpopxQzfJvF51A+icroZX67AGcqmF6FpPFaQpNs/RVNDeo22WGImQ1jU 6VbARAvwT1iFMkMGv4lut+6C0aptD8UOi/fqIK0iYa1H8/ICOxMLhHQ0FNubGyY+RQTN SEQyybWs5qFhJV1lmAP8LKL1NPAaXWRU9Xq8RVSGgw0LRSgAvzX5QTMyrPg/B9434kR1 0YhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o1si3045869edq.365.2020.07.16.06.06.50; Thu, 16 Jul 2020 06:07:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728455AbgGPNGF (ORCPT + 99 others); Thu, 16 Jul 2020 09:06:05 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:40302 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728087AbgGPNGE (ORCPT ); Thu, 16 Jul 2020 09:06:04 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jw3aF-0001xQ-AH; Thu, 16 Jul 2020 23:05:56 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 16 Jul 2020 23:05:55 +1000 Date: Thu, 16 Jul 2020 23:05:55 +1000 From: Herbert Xu To: "Van Leeuwen, Pascal" Cc: Horia =?utf-8?Q?Geant=C4=83?= , Iuliana Prodan , Aymen Sghaier , "David S. Miller" , Silvano Di Ninno , Franck Lenormand , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH 2/2] crypto: caam - support tagged keys for skcipher algorithms Message-ID: <20200716130555.GA32006@gondor.apana.org.au> References: <1594591536-531-1-git-send-email-iuliana.prodan@nxp.com> <1594591536-531-3-git-send-email-iuliana.prodan@nxp.com> <20200716073610.GA28215@gondor.apana.org.au> <0c818beb-05e5-a6c6-717d-782b32afff26@nxp.com> <20200716115253.GA25035@gondor.apana.org.au> <59436173-9891-b857-f36b-e97c0a3264c8@nxp.com> <20200716121932.GA31870@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jul 16, 2020 at 12:24:49PM +0000, Van Leeuwen, Pascal wrote: > > That would make no sense though, as sha512 does not involve any keys ... > It's the HMAC part that needs the keys. So phmac(sha512) then? You're right, that would be phmac(...). But the point is we don't want each driver to do its own thing so whatever scheme we pick should be applicable to all drivers. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt