Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp165787ybi; Fri, 24 May 2019 01:50:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrez4K08DstqN6ycLOHLx+oG05FpWC4iKzvEFDBogzDLk8BSpayydO/3Oug5A5opMbAkFh X-Received: by 2002:a17:90a:808a:: with SMTP id c10mr7239062pjn.67.1558687818276; Fri, 24 May 2019 01:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558687818; cv=none; d=google.com; s=arc-20160816; b=xSktKf3XYvUXvxy9e4FXA/Xx1izw4XDIE2Lw+XwCCU4ZyhVidrIfutJNa6VCOF4XBr C5CVq91l2QIXLizFS2GCVus3sFE4Xg1GdelBU2KK6KXd8xRASf5AualUzuBVGgml492x S+RKMf8ZuVbCpVSwgYsjYkLrJXlPxPN/wWdNC98VQMusiOYxNBRQQpZtVKbqHIU/3HmM 4oRNev+E7T17geYH7A4E6g336tlhKnvsKJe631sXgPWiLU/82abMawufs0SZw+hhqXZ2 jjo6iyoIn7l2LOqScxqXRfiTsY+2QwehCuyg04f25xn16k12cb9MtPX+OXr9sP9et7Fy 9WMw== 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 :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=onQfdHTLJnYhFxGsgmPk2zn9SdgeqSxolC4z5ERiI/A=; b=WXzNTyBFrp8j+Q72G5IFMXor06OmoUZo8sNql0USRsshKh5PH9O8hxHYypPGzWcM5l fMW+RffZI0cS4uQaVn1yAdQoHw2PzrkR40+3E5xhAnHw4h2mAXynpdPlPXlVH5qfWw1Z NaYxE3+LcP0ra+sCFNUFxcqsXTmaC8fFrIowaSWXyWWnyzj3G7/E/Z6qaiYlCni4qD9B icNc2wIqtX6vPB+R/JMEksvmHNyDrVh7pAbZLx6TOniI3YeDT2V/eZeK5Gz2f31w/Bbf hDa/zjLlrrceYM+giwWzDIUfDME/V0fi8xdI1RYSqu3gzsaUqz3Zps/k+Q+3ZJOG2Jm4 zAdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E+NjpSCb; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k33si3255457pld.415.2019.05.24.01.50.01; Fri, 24 May 2019 01:50:18 -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=@gmail.com header.s=20161025 header.b=E+NjpSCb; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389475AbfEXIto (ORCPT + 99 others); Fri, 24 May 2019 04:49:44 -0400 Received: from mail-it1-f174.google.com ([209.85.166.174]:38235 "EHLO mail-it1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389448AbfEXIto (ORCPT ); Fri, 24 May 2019 04:49:44 -0400 Received: by mail-it1-f174.google.com with SMTP id i63so12659842ita.3 for ; Fri, 24 May 2019 01:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=onQfdHTLJnYhFxGsgmPk2zn9SdgeqSxolC4z5ERiI/A=; b=E+NjpSCb2yPFWGnRXN/hlAuv1y9EcJBU2UVMDZ+pmLTbWLs0jW49olLEAXSYnjOjmz C1CDBZKeL5Vu5hckfO4QQ7slaJLCoqFtfMOf5ShS3Q2OoMespWPKwX8mu+JoSna3PeDo ca1Ki0JvI6Ls3474YrNAHycUsGnfjxFN3oA6ud+YUloDM0UKuWA1mwmihj6YvUuGRlT5 nDxUw0gzOf82sF4JrlpzEm+mzeTBphgVmNIyn5vi2/je0ZvaXQ8aqFOzJlGX9WE1ULXo cDzWIzkcv5Wl/0gCoVENrc/OJT2sMc9PtQKtJ820rs2uJfCErfmDb3TIJKUsttcO/5iu c10A== 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:reply-to :from:date:message-id:subject:to:cc; bh=onQfdHTLJnYhFxGsgmPk2zn9SdgeqSxolC4z5ERiI/A=; b=AHWBwgrJyHyQfSZiyd1olAOtk8yhYlXnc8PGL+2EgtBRMTGzbDgN5KMsgUf74rnL3M d/VZ3gzorUOyszWkMMLsQf62FfQjEPW+CzzzQMl6YCiQucTnEoPnim+jTctaK9oV55FQ RkR8BeQRhWSwvg+vuReY9hp09+8c7wvjx0Or0oScXVvBu462SwJ32HQkC636Y9zj47wJ 0+zepy6qYxWPX5KKvOpDjvYR6SHpupvx1LmfClOPQokI92GDjYlAGcHeZ4ZblvIYmI+G 1uAfxYibcLwGqxWL6N3ECk6kGZEFZ/e5mdz9FE+PIuORXrIfSQ9bMhAPu4GeEVsaKmz4 SzkA== X-Gm-Message-State: APjAAAW44+0LYsHxDc7B47F96kpaAr8T8/PXHtg/VkdwbUspQv8KbEjq L5TWdEVS1yAsZdCDVM0MNgTvFaKk/6BTFR+8cw4= X-Received: by 2002:a02:5143:: with SMTP id s64mr15880870jaa.54.1558687783913; Fri, 24 May 2019 01:49:43 -0700 (PDT) MIME-Version: 1.0 References: <20190523185833.GA243994@google.com> <20190523200557.GA248378@gmail.com> <20190523234853.GC248378@gmail.com> <907eb6a5-dc76-d5ee-eccf-e7bd426a0868@c-s.fr> In-Reply-To: <907eb6a5-dc76-d5ee-eccf-e7bd426a0868@c-s.fr> Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Fri, 24 May 2019 04:49:09 -0400 Message-ID: Subject: Re: another testmgr question To: Christophe Leroy Cc: Pascal Van Leeuwen , Eric Biggers , "linux-crypto@vger.kernel.org" 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, May 24, 2019 at 4:47 AM Christophe Leroy wrote: > ... > > As I already mentioned in another thread somewhere, this morning in the > > shower I realised that this may be useful if you have no expectation of > > the length itself. But it's still a pretty specific use case which was > > never considered for our hardware. And our HW doesn't seem to be alone in > > this. > > Does shaXXXsum or md5sum use the kernel crypto API though? > > The ones from libkcapi do (http://www.chronox.de/libkcapi.html) And they can be loaded into OpenSSL through the afalg interface. Lots of potential uses cases. I would not cross my fingers no one is using them. Jeff