Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1021995ybe; Fri, 13 Sep 2019 09:51:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkLt+5/KZNmCsj5pihLxzrlE5mTIa9j5tpx025DPamxB8hfLkUgRVn5Ew2PyKRoISEDXdm X-Received: by 2002:aa7:db59:: with SMTP id n25mr49060677edt.77.1568393484706; Fri, 13 Sep 2019 09:51:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568393484; cv=none; d=google.com; s=arc-20160816; b=QN4UXuInojOnVTPdEXPMFuLZHXbOVmaS3+Kno8hTxexEi7X2sQdpGaZG/AHoQZa/r2 xMJIjfgB/pn/bYzmcwXf0JUKRRxNdMx1zv3wtLjp3uB8cBEKdVP1FP7tYL3SdBtj0WvU VC48A16fVGnUt8SuZ9FBuDsXo1EFP/pUT0RUeAASdlFiPAnKwh0SbvzV21BOk/fXHyXc lXsy2UunpJB7W/KRIxXY48fTmqRiimCdnmhM7Imt5uiT+mbeQ1e1X51Aga+sE6lV1qcS 12V+h2rAthHsFDMi4EWCkciJKcA9M7R3u9/DzDBAP9MrkrJ1xTV4oyExvWv/BfVT1jg7 2Gww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oMSsFWDeuI+JrpydDI+5Ui7hm8ODpxgYuXhV6cm12Bs=; b=bsGDIAoSYUap9jrg7diuZDK8fOUcskvT8YyGgNqmiTjrEXA1V84PaDAZa8CjCKF9G0 nGi9N764Qj3+QTlqXx1qDalc5YJM6vBVG2K6kyOL8MNdtXmls4yVaYWA0wMSzSRUXgQU jsqf1M8dAfWTw4+OlKAEhwushRKZHfzr3EpEUabPlr/tj9bETSmBCeFgAttq0iEOHYGY X4UMkbKR8w6szZ8T5i3Nz5bAezTa7AwMlQGdw8iWMO9xLG2K8gwu41gILGCspuNa2FOl Y4C8lk6i2ik5ch41S2+3Iwnev1u7aCt6dfdoV6ppmqGDIvlfLWG3rQ1KLKUyEwcEVejm MpuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yu51cycU; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o46si18316682edc.124.2019.09.13.09.51.00; Fri, 13 Sep 2019 09:51:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yu51cycU; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388704AbfIMQYH (ORCPT + 99 others); Fri, 13 Sep 2019 12:24:07 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:33080 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388221AbfIMQYG (ORCPT ); Fri, 13 Sep 2019 12:24:06 -0400 Received: by mail-wm1-f65.google.com with SMTP id r17so2239438wme.0 for ; Fri, 13 Sep 2019 09:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oMSsFWDeuI+JrpydDI+5Ui7hm8ODpxgYuXhV6cm12Bs=; b=yu51cycUwATFkwbo4DS/11GX9i9iQFs+aAxh7ke5D+UoOxUb5Xx/bH79AZWdH/t91a Yh/fnZbRqDqwoilQVDoT/a9IuKHOMn+4QkMgNKgbwuyWibSXvDWYyFM6aGXZ8DfsnUhT e0oUynYAIj0NXsnDlqtwFMrLFA7rMRxk5oMteH4qYxJAqlROdFRJwcffP07v7D1gT4mi O6BiWGJjG3/o9fHamvYdkgLtqRQPC2AoZBjVBpzz4My6ZgML7aamZqvu/xbIsCxr+gtw FMGl0ivE3pEmhrjNsZYwKyA49vbR/HdKix+vTmgyeDnPU3P+z0q1Uahh0SJWtujoH12A CnjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oMSsFWDeuI+JrpydDI+5Ui7hm8ODpxgYuXhV6cm12Bs=; b=YjEiLsSNKNMjlJHfS18VWM5EwhcJg/HMP77C//Nl25d0Uk9CbVR7jw/t8O3JDbMQXe P1HMD7/wY3WRXiX7/4F1g8MF+EDtOBU1NJpo3yhB6WCyI6v2PvSUFrE68+6pj3lob8yb 268LaktKVjENdRC3nX7j2fMWeN/dp4YGs8JsPyyDs9f4nBZI8BNdySbCnze9vRjlB8r1 XHDS5ahnmp4DIiPxT7LC9tgedCpujoqEXvNgGYFEG3szoOYlUV/8d9RqMbhWCVGAm2vK lsoHLa2SBaeZPzX6Y8PM32ez6FMRkRCAmPvmrCcPO+uPWnSovTcksH7mBhDkkTzZwIw0 0O6Q== X-Gm-Message-State: APjAAAU7kLDot8oM/XlxRu6zODsfyDA3tv2k+IMa/L1OcnNEhjesKIXY YGlpLpZ5qJ+ovlvUYufv0XjRYSK9iMoXbUi6TrcDSQ== X-Received: by 2002:a7b:cc86:: with SMTP id p6mr3824749wma.136.1568391844739; Fri, 13 Sep 2019 09:24:04 -0700 (PDT) MIME-Version: 1.0 References: <1568383406-8009-1-git-send-email-pvanleeuwen@verimatrix.com> <1568383406-8009-2-git-send-email-pvanleeuwen@verimatrix.com> In-Reply-To: From: Ard Biesheuvel Date: Fri, 13 Sep 2019 17:23:42 +0100 Message-ID: Subject: Re: [PATCH 1/3] crypto: inside-secure - Added support for authenc HMAC-SHA1/DES-CBC To: Pascal Van Leeuwen Cc: Pascal van Leeuwen , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , Antoine Tenart , Herbert Xu , "David S. Miller" Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, 13 Sep 2019 at 17:17, Pascal Van Leeuwen wrote: > > > -----Original Message----- > > From: Ard Biesheuvel > > Sent: Friday, September 13, 2019 5:27 PM > > To: Pascal van Leeuwen > > Cc: open list:HARDWARE RANDOM NUMBER GENERATOR CORE ; > > Antoine Tenart ; Herbert Xu ; > > David S. Miller ; Pascal Van Leeuwen > > Subject: Re: [PATCH 1/3] crypto: inside-secure - Added support for authenc HMAC- > > SHA1/DES-CBC > > > > On Fri, 13 Sep 2019 at 16:06, Pascal van Leeuwen wrote: > > > > > > This patch adds support for the authenc(hmac(sha1),cbc(des)) aead > > > > > > Signed-off-by: Pascal van Leeuwen > > > > Please make sure your code is based on cryptodev/master before sending > > it to the list. > > > Looks like with this patchset and the previous (SHA3) patchset I forgot > to add the disclaimer that it applies on top of the previous patchset. > Mea culpa. > > So there you go: "Added support for authenc HMAC-SHA1/DES-CBC" applies > on top of "Added (HMAC) SHA3 support", which applies on top of > "Add support for SM4 ciphers". > Sorry if I wasn't clear, but that was not my point. You should really base your code on cryptodev/master since some of the DES helpers you are using don't exist anymore.