Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp458512imm; Fri, 5 Oct 2018 06:38:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV62VFiS4ydrSQbo70KAfnBmkyjyedr/JM+MMUYXFKug+gYsx5e+jn04YF6u0SD/CyzvRqXT+ X-Received: by 2002:a63:7f0e:: with SMTP id a14-v6mr10279619pgd.296.1538746716677; Fri, 05 Oct 2018 06:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538746716; cv=none; d=google.com; s=arc-20160816; b=YvPKvoHHssncK46PNJnF1uQE++SBHNjrRxTWPptqoe4vLVc8hacZW8f0yZPh79ZTVv nUHZKi+Bi8Y0/C5qm8yRMBbUIsumMhjhIUnRFLyy57L0MAxlOH+xQ5uPoqaxhJtN0AyD zzUTHWQxOfvhLtn5UKIfjLbZBcKg6sXSjCWxrAkf3fLC5SVrNzN/X/rB8iHSLCzp0Zuh 4JCn11YyZM8bmdSCboDVqF8FiJooLwYCu2WsmIjzSqCg7KxgGb1ItQqPacpsgO1FbZF/ rK40NC40cFBUGwKow37DgEsT11QlBujYOcVaZhQAsE6E94d+aTpOvaZBckBunj9rXGYr Bi3w== 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=AK6EzRMfaUabjqoYDvuZwU1hNBWygeF3CXtM6oIARAU=; b=ITEiczY/KqnE29+wIO2JtN+1myPt5U0YAjirzFAciZW0TTSs+8SAj3qPc6OiYCuW48 SmLQff94msn7EtHB+kGnAxfv+kqmWzOMlzp5iNVCUirN+N7lmjXqI4bPkPqaGBpLdsKp yLZbnEVWQsVKd9oyC7e4qwlzvSrDY1Tk9xE/cCxaquDPdkBDXZTPYwQHF8b16mfR0NUs lY0rQ9HVAg1JlIw7tyMMwJgPoEwaPANxybxgAk4M1liNFFVJwP6q3nUTOJnnmy1MX3Dr lybxP8mu6bHQtbG/7fng9s3TiVgIE3iJf30vbWvdA08ZrqLN0kNHLdNlxnVXdqvG3cZH PfOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V4fw5pRZ; 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=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 e127-v6si8904317pfe.8.2018.10.05.06.38.21; Fri, 05 Oct 2018 06:38:36 -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=@gmail.com header.s=20161025 header.b=V4fw5pRZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728727AbeJEUg5 (ORCPT + 99 others); Fri, 5 Oct 2018 16:36:57 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52031 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727701AbeJEUg5 (ORCPT ); Fri, 5 Oct 2018 16:36:57 -0400 Received: by mail-wm1-f66.google.com with SMTP id 143-v6so1910056wmf.1; Fri, 05 Oct 2018 06:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AK6EzRMfaUabjqoYDvuZwU1hNBWygeF3CXtM6oIARAU=; b=V4fw5pRZwFnS7+9akPGvQviwOA97TEu23OyA6xURDRXNCEpN1sJH0GWjGeJyp7bQ5C ELOk6jkXsBcOJ5ZX1x/5gBJkIi97589PRD9vWOZEhODq+AXRLD6egbT5yiIkaOBOiswi piC+ZNUOvj1g32JSCuGhqpRhm7hfeaRUJSKKh8Nkl7pJAtVmYonWCmYAqyCSVpqfOWQO XIaY3TZahti4B7B5p2Od9kH1oEmn44XDChfrnZpMxzofsBp6c+I6uVACaR4cpd869Fid kQggwVLfDEx0KpQ6QgOwLS3FWUumoCzN3WrwHrnOPeJ3Gq2oE/MByrL4oLqJAdtdffbn jYlw== 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=AK6EzRMfaUabjqoYDvuZwU1hNBWygeF3CXtM6oIARAU=; b=KfOkfAv69+hncgymFABBZ8gK5s4asMPuO29IPE1dD5OCqr7sB70HB+5K2xtEIYCY6i 7hOyaiKQyYlot1OqgKKabycitC9fMdkobRpc+nQ9BJ9DMt5PN8bbY+ZYW13+EaUH/Z+k y+vxznEDVMytgjPeHDGeAYeQ5IoehBdDgtMhG3Y5ZFObEFzNKnXD/uCPlJuZByPPR5Vo CA9MWd98b73xggkosgs1SceVehLcgZlqT5J9ZuXjOCdkZCeHGhWCM8lwYkCrfx1498x1 WXETuTOqMBfxQQ/4bDjIluV/ZxUnq/FGoZaYOLMpuoGBy7D6v7GVs90sOgd9aULjc3WS DAwA== X-Gm-Message-State: ABuFfohft8Zsnsxm9TbbNgJk8ySKXBU1kIELb4F+4dkomJGX5IEUzYDb 1KhuoZA8aZXKH49Cudz/JCoHViWcl0lspjiHIXw= X-Received: by 2002:a1c:8fcc:: with SMTP id r195-v6mr8178820wmd.44.1538746689285; Fri, 05 Oct 2018 06:38:09 -0700 (PDT) MIME-Version: 1.0 References: <20181002033908.324yhwqaohfsq65d@gondor.apana.org.au> <20181003064951.GC745@sol.localdomain> In-Reply-To: From: Richard Weinberger Date: Fri, 5 Oct 2018 15:37:57 +0200 Message-ID: Subject: Re: [PATCH net-next v6 00/23] WireGuard: Secure Network Tunnel To: "Jason A. Donenfeld" Cc: ebiggers@kernel.org, Ard Biesheuvel , Herbert Xu , LKML , netdev@vger.kernel.org, linux-crypto@vger.kernel.org, "David S. Miller" , Greg KH 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:14 PM Jason A. Donenfeld wrote: > On Wed, Oct 3, 2018 at 8:49 AM Eric Biggers wrote: > > It's not really about the name, though. It's actually about the whole way of > > thinking about the submission. Is it a new special library with its own things > > going on, or is it just some crypto helper functions? It's really just the > > latter, but you've been presenting it as the former > > No, it really is its own thing with important differences from the > present crypto api. Zinc's focus is on simplicity and clarity. To the > extent that we're at all tangled with the current crypto api, the goal > is to untangle as much as possible. It intends to be a small and > lightweight set of routines, whose relationships are obvious, and with > this direct and to the point organization, as well as work with the larger > cryptography community and with academia to invite collaboration. With > this comes a different way of maintaining it, with higher standards > and a preference for different implementations than the current > situation. With Zinc, you have an obvious series of C function calls > composing the whole thing, without complicated indirection. It's > something that could be trivially lifted out into a userspace library, > and used broadly, for example -- something I'll probably do at some > point. That's a bit of a design change to the current crypto api, and > sprinkling some direct function calls within the current crypto api's > complicated enterprise situation would only kick the can further down > the road, as much complexity would still remain. The goal is to move > away from behemoth enterprise APIs, and large and complex codebases to > a simple and direct way of doing things. This desire to untangle, to > start from a simpler base, and to generally do things differently > means it will go into lib/zinc/ and include/zinc/ and have different > maintainers. 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. And I strongly vote that Herbert Xu shall remain the maintainer of the whole crypto system (including zinc!) in the kernel. -- Thanks, //richard