Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp996548imm; Wed, 26 Sep 2018 09:56:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV63CnjKSt02ng9W9IBuBzxlMrSs/mGu0AHa7tOszgo4ezcBicdwDm6qvnV2R2BelsZBcdQRD X-Received: by 2002:a63:170b:: with SMTP id x11-v6mr6295452pgl.364.1537980975331; Wed, 26 Sep 2018 09:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537980975; cv=none; d=google.com; s=arc-20160816; b=jM7WetJulcBRkkS/uLvlobZxAG3pVSzfYyZjd3wMzKyF4Cw9OSLbzgUai/RMQgKtzr 6sOdJy1QTwIGbV7qYAoaf7IrTg5nYZFjKTGDxB6XK3/a6pKY+czRporIxXkg6STD9Qco izbGlbXIh2puEvwpE3X1NqY0sFYwQFtcyv+hoebJMe58LQLseVh4XoxB7M54/0bYaWCE FfIRCq8ryaWfVLo07ayJiYU1SU1awwAanVydg06Yt9//9quSWndB/dJVHkIww54JlKxZ Eb7C2mwsRPIjoQPzP9Vl+nA7VbNS2MoKYiUNmPbbge0D5cjpPn5zjDmwRIt1vixYmn55 p6Ug== 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=mXd1QzH0K2rVvZr9uVGOOi3qH9xV0eECvZDFRLRN5vM=; b=HOzNEKmqR/el33EEPtcz6glNHtyFJQMydUspE4/bLVpZiilS2lSFpMK4VYcvyK/SDJ W+e4rhw9z+dAxaoTIc7MB8YZdEPSVh0D/cSLpgRE5ayEcZxy1y694LCqJ5+EZsrfglzV 6exiXTK/foeDLNVvCSU9XuhnU9ctJe8shwPu3ADtr/S1AiSxNGLbtYZFm6rtBC540nGR 2LocUS6eAn73vRrUAm3SG4unEMG+p0bNQ8RQqcPO1CYKObDetJ4+lF4CJ5vXQU91exGR WZyqWfBKHFboVWCvdkiaGe3HtLWLck17eDPbRr62ejGUEKRlKWC7PZCtOlZKu3o7fBEX lC+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XGzxmT5w; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l63-v6si5731909plb.166.2018.09.26.09.55.59; Wed, 26 Sep 2018 09:56:15 -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=@linaro.org header.s=google header.b=XGzxmT5w; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728875AbeIZXJB (ORCPT + 99 others); Wed, 26 Sep 2018 19:09:01 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:45593 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728746AbeIZXJA (ORCPT ); Wed, 26 Sep 2018 19:09:00 -0400 Received: by mail-io1-f65.google.com with SMTP id e12-v6so23801959iok.12 for ; Wed, 26 Sep 2018 09:55:10 -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=mXd1QzH0K2rVvZr9uVGOOi3qH9xV0eECvZDFRLRN5vM=; b=XGzxmT5wiSoDQfWsO6rgBYqayADwaQ1gGmVjjWErj5LLFN74FKuF5MQkbUYmsPeT3q kIMCoT1BBeOXlsi1fW4FA6Yr7D7FRLOnb8cgywPXVEf3HS/437j4scdFfsUUJ0EKXav3 D05Q9ZjwG7XucxhwW4PY24dezIO1dWlJLsRqA= 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=mXd1QzH0K2rVvZr9uVGOOi3qH9xV0eECvZDFRLRN5vM=; b=fiH5oanV6FrjYO6Hb1XGbaC4fW/0uMQNqSqh1EYztdpXFIVWDPAdL2vSfocbp1xduL MuGh8JrV/NuS+nS31Z7XVYVRLHsu5PFoKIJ8plYUNMQTCqeToIYcbjnb65NHFVZshEm/ xif5p8HU8KPK170++EhnDGjI8kkARY72X0k64QJBAyMvtIZYG9Nz92TCgfOQTqKzyIso 6cbrjM6UP44XThzkuayBSKXIzCKgs8nB9XYaglXULZ+RZQoQGuzarLYnVXr1MoA0o8ba w6WLqVh5AKAJOlf+IKVWbc0+5hx+7S3ykkXozA5uKmhxW4UNEqoMM3r0V2zocga0E2Fv TvGA== X-Gm-Message-State: ABuFfojaNYxaZGbrrDdNlgh9ueRDDXeUDZnsdYMPF6wDquFDwKxE1W50 mzbp0/+M8jTIwwSyEDTZ7nyI+rC62VRaCd0JMcggGA== X-Received: by 2002:a6b:5d12:: with SMTP id r18-v6mr5679564iob.170.1537980909696; Wed, 26 Sep 2018 09:55:09 -0700 (PDT) MIME-Version: 1.0 References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-8-Jason@zx2c4.com> In-Reply-To: From: Ard Biesheuvel Date: Wed, 26 Sep 2018 18:54:56 +0200 Message-ID: Subject: Re: [PATCH net-next v6 07/23] zinc: ChaCha20 ARM and ARM64 implementations To: "Jason A. Donenfeld" Cc: Herbert Xu , Thomas Gleixner , Linux Kernel Mailing List , "" , "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , "David S. Miller" , Greg Kroah-Hartman , Samuel Neves , Andy Lutomirski , Jean-Philippe Aumasson , Russell King , linux-arm-kernel 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 Wed, 26 Sep 2018 at 17:41, Jason A. Donenfeld wrote: > > On Wed, Sep 26, 2018 at 4:02 PM Ard Biesheuvel > wrote: > > I don't think it makes sense to keep > > it simple now and add the complexity later (and the same concern > > applies to async support btw). > > Ugh, no. I don't want to add needless complexity, period. Zinc is > synchronous, not asynchronous. It provides software implementations. > That's what it does. While many of your reviews have been useful, many > of your comments indicate some desire to change and mold the purpose > and focus of Zinc away from Zinc's intents. Stop that. It's not going > to become a bloated mess of "things Ard wanted and quipped about on > LKML." Things like these only serve to filibuster the patchset > indefinitely. But maybe that's what you'd like all along? Hard to > tell, honestly. So, no, sorry, Zinc isn't gaining an async interface > right now. Framing it as /needless/ complexity does not help at all. The changes you are proposing are very useful, but nobody wants two crypto subsystems with two different maintainers in the kernel, so I would like to understand where this is going in the future. I am not saying it should block these patches though. Also, I have spent a *lot* of time looking at your code, and trying to make it better, especially for use cases that weren't on your radar to begin with (e.g., 'pet projects' [your words] like the Cortex-A7 which will be in almost every new 32-bit Android phone). So characterizing my feedback as some kind of sabotage is not very productive either. Contrary to what you seem to think, I am not deeply invested in the crypto API. What I do care about is that the ARM crypto pieces in the kernel are maintained, supported and improved by someone who understands the use cases Linaro's members care about, and is willing to make an effort to gain such understanding if he doesn't. I have no doubt that your involvement in the kernel's crypto subsystem will have a significant positive impact when it comes to code quality, robustness and usability. I'd just like to see a bit more consideration for other aspects of kernel programming, e.g., preemption under -rt, stack size constraints, coding style, importing code from other projects etc. - please try to be less dismissive of feedback first time around, but try to understand why people are raising these issues; I'm sure you will appreciate it when future contributors to zinc will do the same.