Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp444562img; Fri, 22 Mar 2019 01:11:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyslkqcDLpmiMZM17b0f8YbuqBgqElTfWZh34evGhKWzWR2n3ahXuhWrmO7x6Sf/j1874Z X-Received: by 2002:a17:902:784c:: with SMTP id e12mr8178128pln.117.1553242290083; Fri, 22 Mar 2019 01:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553242290; cv=none; d=google.com; s=arc-20160816; b=WnCY2fwqn+vEHRzASYkrJWkXP4k2fOmiaaaey+JCByw6LcqXfRv0G4paqMQwtKEefm QXqsI2u7rsGDKj1fg2YyCwLjRu5rTI9hZzI0WBZwzFTBx+RT698clLi7sIcvfyZcO0LO MLalIokI9/PK31OjQ6k477LnpdZTkWiQJcx/oN2X/ZTvFF3a8Li2dJlFBgzR1Tv89KkK 7VrK9Qh4bZ0RV3iWP8kCCaT8ilR7/1f4UhhEyXdAshQmaPv3st9zsWXvOHO10IPeLNO1 0vVvJlaeX0f7kPsRNQ1cPoLXVsBEXImx29z+AEr/aeaaJhJdN1+aldWGNq68kmbs4s1g j4MQ== 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=R21b9x6QZdQ2eIYmmG8agArG64N5Rj1U4Os6GUiN/fA=; b=E4KGuxtjHwvAi7xiIzhTskZ3dxbbt5rBRWR2YQWEwLbY/Ma8NvlfjUJ/5NieLzXyyX +g+cqsh0XMpJXNPnlyPcEG4LxesjT9E/EtOZzzIJzeCB1I3ka6RC97LAQk/G5USlco9m NSrQG1UQrTon63i1cPzQe1uABC3zRo2IfhlgHWjLtHdQQyJlljDWXZMQk9eset08kQjF ha0G28p5uLPgp/Te+ZT9my5kW+kFIZeT+hsoKRRCS1kz5DUfYZ2szTak86UGUJE5lKUc PoIpZ/taJI81UB0uPKsDZd5xy+xf9blWIXe6wxwn4q7iV96sLcLU2kRigfV3fLd6jJqq CF9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=Jw4IxBQ9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j4si5985111pfh.14.2019.03.22.01.11.15; Fri, 22 Mar 2019 01:11:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@zx2c4.com header.s=mail header.b=Jw4IxBQ9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727646AbfCVIKb (ORCPT + 99 others); Fri, 22 Mar 2019 04:10:31 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:47281 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726350AbfCVIKb (ORCPT ); Fri, 22 Mar 2019 04:10:31 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id eeaa3cac; Fri, 22 Mar 2019 07:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=KP723Abz1m33mPHiMSHCHIDYsfM=; b=Jw4IxB Q9dd3oEsjnHdFqGeMhgTyZs910egFa0EuOm3fNbeAce/m6EUpcyGvUe7KiX9dYYy Q80N5SqshnX4+GOHulAcOOP6GyR2s/V2Q/XBon1azv8Iwz4Hv1c6aCTj7WNLOn0d SDYe2qwcNcb+ho8FxjNzTO/QT1ojJYDV+SYTlaVN2acyDy2SSy9rJJ2qP2xrTI/G 7QVQ4qRUFvpmGllXkxKzOpUCU5GnEB9DHkjiqhG+cEzAhITit6nryhHzBjETZzAj 0DL/15s830k88O7x/JDUVGEn8D5XVQDtGj2dLsElnR+IGyI8yNeEsA2fYWzAPoN7 LfcxiwwKhQzYvJpw== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 2c9b8263 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 22 Mar 2019 07:48:44 +0000 (UTC) Received: by mail-ot1-f41.google.com with SMTP id m10so1204952otp.2; Fri, 22 Mar 2019 01:10:27 -0700 (PDT) X-Gm-Message-State: APjAAAV6mVjJzhyiK8wLJ0i/I5MA037urXw/nmzKOrukrFAwe5GDhrsq xQYJcq7cPRSW8MW6HFZc4FTvIpFHPEMNnA7hmp4= X-Received: by 2002:a9d:62c8:: with SMTP id z8mr5706217otk.144.1553242226947; Fri, 22 Mar 2019 01:10:26 -0700 (PDT) MIME-Version: 1.0 References: <20190322062740.nrwfx2rvmt7lzotj@gondor.apana.org.au> In-Reply-To: From: "Jason A. Donenfeld" Date: Fri, 22 Mar 2019 02:10:15 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/17] Add zinc using existing algorithm implementations To: Ard Biesheuvel Cc: Herbert Xu , Linus Torvalds , "David S. Miller" , Eric Biggers , Linux Crypto Mailing List , linux-fscrypt@vger.kernel.org, linux-arm-kernel , LKML , Paul Crowley , Greg Kaiser , Samuel Neves , Tomer Ashur , Martin Willi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 22, 2019 at 1:56 AM Ard Biesheuvel wrote: > that implement it, the reluctance of Jason to work with the community > to fix the issues that he identified in the crypto API means that > WireGuard will not be able to use these, and is restricted to > synchronous software implementations. There's no reluctance to work with the community. I'm pretty deeply committed to this, as evidenced by the multitudes of patch submissions, discussions, and popping around from conference to conference discussing with folks face to face. > - The way WireGuard uses crypto in the kernel is essentially a > layering violation - while we already have an asynchronous API that > implements ChaCha20Poly1305 in a way that WireGuard /could/ benefit > from, and while we even have support already for async accelerators > Saying accelerators will not > matter is a bit like saying there are no American soldiers in Iraq. > (Note that adding async interfaces to Zinc is not the right way to > deal with this IMO) Geopolitics aside, as explained over and over, the point of Zinc is to just get down simple software function calls, for instances where async accelerators aren't available. I consider smushing it all together to be the "layering violation". > - I don't think Zinc changes should go through Greg's tree and have > separate maintainers As I've mentioned before, I'm fine with merges going whichever route is best for merges. If Herbert thinks it'd be useful to send things in that direction and would reduce clashes and such, then that's fine with me. > in fact, I am a bit concerned about the fact > that, after the last Zinc/WG submission in October, Jason has not > really interacted Such as... https://www.youtube.com/watch?v=CejbCQ5wS7Q ? November is after October. Anyway, I thought it good advice to not post v9 too swiftly after plumbers, letting things calm a bit and focusing on other improvements in Zinc in the meanwhile. I've certainly been around. Looks like Herbert posting this might erupt another contentious thread of bikeshedding and argument, what a bummer.