Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp468590imm; Fri, 5 Oct 2018 06:48:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV61xV/ehd3jnpx0HbHt/f6hUFeExtoA0dt9bvPBY8VfW3Y+2b1lOGnKpqWgxSBIE2F3RQjXI X-Received: by 2002:a17:902:8347:: with SMTP id z7-v6mr11592855pln.147.1538747305126; Fri, 05 Oct 2018 06:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538747305; cv=none; d=google.com; s=arc-20160816; b=dYqLPjNKmlB1sHQrAT0DO1c5C+4yPvtypHD+AHI+eH7HuewRT0ZmEGw8zbk3vUlKCD pMidSLVkmwHqgXDb56Pi9oxk4UGAtqeRer4GfRWs0zGHII54OP1+ZdDR1BcYrVWh+yM0 NMggZWfICmxZiPE2xSaOzs1oqIiKjCxR6LoR2kA2AAtUF7mz5CTyqiFbPFgaztYArbR0 /fXtNyGr83B6fWs7lK1I0LbfSdomQc0tz+xrvn41xh7HK17A7x5nyZ28CxYxOlzM7uiK zdwllj74LpKKAdiqMeXFM44xY79s9un56ZQarLZ2muRzk6e5uJWP9LRdX9xNYqd7Vk6H 0AQA== 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=5+BoPWB/ZzpyG1t6WwuerNTVqb3+2ChHe7B/GvO7bx0=; b=VufuJc0HXMCr3h6hc8K9otL0Bo/8NQogOSJHSTqBokqbbUyZTk/0FATBFhp6gLoioX thtcKxEdSVG2cAIUOL7hbxmPb+Xb/RJ9o7rViXcRL6Jkp+tuAfMC9ly5KCdhBrkhpgUE fryzcVwWRvTKOcKYSqjXFIb1894YU6EBOvhQ1jFpaR8Ch4xQxscfQvYW6IICjT3YDL2B 1hu8lhBOPUvsASVC90cAj2rL/FChQ/1mbS9Mu1gaIS2hv1tPV2N1Ip0P9OwUF7lh60r7 hqz+TIOrP5QI8QfSCzDTYOD6q430I6h8qp4EGqZeCmNT4yu9zNvnK0AuNXljwYj2FTpl czww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=j0Z5EuuN; 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 c12-v6si7289382pgj.70.2018.10.05.06.48.09; Fri, 05 Oct 2018 06:48:25 -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=j0Z5EuuN; 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 S1728659AbeJEUpb (ORCPT + 99 others); Fri, 5 Oct 2018 16:45:31 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:39163 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727775AbeJEUpb (ORCPT ); Fri, 5 Oct 2018 16:45:31 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 3b32fa45; Fri, 5 Oct 2018 13:46:17 +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=EJG4bZbHY5tmk6y+1vXrhzNJV9g=; b=j0Z5Eu uNQXnHRgLZXw32k687lzPytM9qx/hIOWCP0aJx7ETZIfgaGP8A6oDnNaIkgSqtEc zW6PYq12py90FwL/wo5xI59y4JnlILdxQW1d3UezZTW5cW8WG4D/qwfrd9SRrFLE VMX8oxmtUvTaX2bPDzBbDA6KdD0EEo1Yf2bpZYUWwPg5oEYxSp4cOs5RZFhz0Zaz BsJc21fIR5uEw9tfBa0FlptSHFGoyRZdovbjn6K4y0FAxMhJT+KtatS2T8WNa8OR mo3hkJqQQQ2gLY5c0QdP2XFkcprboqHVoQjBrYZwWEpkihmrPQxnDMgwj30mTDJ1 uv715omsASam2SeA== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 7c5ae6f3 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Fri, 5 Oct 2018 13:46:16 +0000 (UTC) Received: by mail-oi1-f176.google.com with SMTP id e17-v6so10424863oib.4; Fri, 05 Oct 2018 06:46:42 -0700 (PDT) X-Gm-Message-State: ABuFfog93l2oV0FIv8crgKp78SvJqP6MUmXPCH8mMWbKMqgudputumL+ +1vqGtizl7FQuL2a47azEbibaBrDQt3IfIrIhz8= X-Received: by 2002:aca:b256:: with SMTP id b83-v6mr5615550oif.235.1538747201002; Fri, 05 Oct 2018 06:46:41 -0700 (PDT) MIME-Version: 1.0 References: <20181002033908.324yhwqaohfsq65d@gondor.apana.org.au> <20181003064951.GC745@sol.localdomain> In-Reply-To: From: "Jason A. Donenfeld" Date: Fri, 5 Oct 2018 15:46:29 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v6 00/23] WireGuard: Secure Network Tunnel To: Richard Weinberger Cc: Eric Biggers , Ard Biesheuvel , Herbert Xu , LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman 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, Oct 5, 2018 at 3:38 PM Richard Weinberger wrote: > So we will have two competing crypo stacks in the kernel? > Having a lightweight crypto API is a good thing but I really don't like the idea > of having zinc parallel to the existing crypto stack. No, as you've seen in this patchset, the dynamic dispatch crypto API can trivially be done on top of Zinc. So each time we introduce a new primitive to Zinc that's also in the dynamic dispatch API, we reimplement the current crypto API in terms of Zinc. Check out the two patches in this series that do this; it's quite clean and sleek. > And I strongly vote that Herbert Xu shall remain the maintainer of the whole > crypto system (including zinc!) in the kernel. No, sorry, we intend to maintain the code we've written. But I am amenable to taking a tree-route into upstream based on whatever makes most sense with merge conflicts and such.