Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5026231imm; Sun, 26 Aug 2018 09:01:34 -0700 (PDT) X-Google-Smtp-Source: ANB0VdakmeycPDLopmijmgNbUlbyvFMFOhdWT/1wAmQZzMzYAHBzdKZwaQAeItEBUacZ1ycSckxH X-Received: by 2002:a63:c44a:: with SMTP id m10-v6mr9132785pgg.416.1535299294137; Sun, 26 Aug 2018 09:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535299294; cv=none; d=google.com; s=arc-20160816; b=H3lXVGG597dC+312nyepXM0Am7bNj7gBtjVtx6QpasREbzR/pWEsOJRwXk+JpRGaJv Gyihv4jfsNx1mjALjGg/koIC4ncq/WU/BhRff5nxDtKG6XlKGI4XHxGvCxeqko2Eynl+ TMrB1fM5+RW+Gh3GyxIUa71zSp8D89hNJjgsz7JtF4p5P9013nW2jOFF7sXMjOoV3rLi Gsio7iBl7J9f2LHKz+rAKflwNTjCiwJB9F8eKQjrj1K9lDMVUxUmI9iYsyEkiJNHIxA/ vhO+WZlVyHBkOzmFkjI92Mf/kXS55C8/yCMgLkQ7YNVhqjoxuRx/yUBNPMxRequTsjXw Ag2Q== 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 :arc-authentication-results; bh=UKEnKs2HSv2y3pRhKodKQeBA52iFo1f93W/WkwbSfEI=; b=Rdo6TR2bQuDMz/KY1slOen62r81ZR+nbfZxEfLZBkhNw0npNeaLTt4YsYB5M90oBPf HKeRjgPe4bLbHSrryrMTMxl/Wf8BhB4yZds1g8xMsfkR9uX657+4ITQr1RrEPHcSWk7b D0wwai7r3j/UeUZoNg6lKt+Wb6sxzgZSlbaifXlYbAa4gthzKULHAoIgLHNuQyVJtX0Q F+acls9e+2t5JQJyNfoD5pRo89lnNBUR8WzF7obwvNJNL1cLzzuAlv2sNn2LiJ4gIz3V p7o6nmbhwPSyPu0R/Vcu5TOjMLAKzr7x/JlJqq1peqwMr76VUZoH99WB0WNLWj/LhC8A LS9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=aPM6y3O7; 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 d11-v6si12095164pgi.221.2018.08.26.09.01.18; Sun, 26 Aug 2018 09:01:34 -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=aPM6y3O7; 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 S1726872AbeHZTnJ (ORCPT + 99 others); Sun, 26 Aug 2018 15:43:09 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:33729 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbeHZTnJ (ORCPT ); Sun, 26 Aug 2018 15:43:09 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id dea68e77; Sun, 26 Aug 2018 15:45:33 +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=FYqttKa+cBWye59lIz1X/tB8LzA=; b=aPM6y3 O73EvhWqo8QZU3/0cAjR6uM1g1ou8ZBqH3cUfKxjUoz+WvNiDbkWwstX++rLe5Rs b+DF67TNUr3bhq9A92mB3VlN7Dy7T15m7qf9C0v7C0Rv6N/eW9aE2si+SEMMMlZ6 ukyGlVJL8VnznW/DC7B+u1/Sa4+/qedX36/QZhTkjEsssui664G7zKcpJsy0JYQt 8SBX6qsPKARHfkrIFXC7Fq+jxBQ6sR8pJH7MgTUn77eEdRIvq/PXBwUSWmb6QQlb hAG9YTT3DKRJa3LQjhYGvoJnxpJVIxRC1T9qbK992luk67jiRNx7JXfnACoYIahc gwKauhK8JeEAhG8Q== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id b9e95c65 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Sun, 26 Aug 2018 15:45:31 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id l82-v6so17629007oih.11; Sun, 26 Aug 2018 09:00:10 -0700 (PDT) X-Gm-Message-State: APzg51DC+uQE+XvvzbSTI/trpJx0prdNL6GCRE/6E2WKl5ktlXoQBRXh BOqUGLPJr+HWTE+vaKjubyRb0aOHgBywB+Ty96U= X-Received: by 2002:aca:e795:: with SMTP id e143-v6mr9463168oih.252.1535299210066; Sun, 26 Aug 2018 09:00:10 -0700 (PDT) MIME-Version: 1.0 References: <20180824213849.23647-1-Jason@zx2c4.com> <20180824213849.23647-3-Jason@zx2c4.com> <20180825062951.GC726@sol.localdomain> In-Reply-To: <20180825062951.GC726@sol.localdomain> From: "Jason A. Donenfeld" Date: Sun, 26 Aug 2018 09:59:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 02/17] zinc: introduce minimal cryptography library To: Eric Biggers Cc: LKML , Netdev , David Miller , Andrew Lutomirski , Greg Kroah-Hartman , Samuel Neves , Jean-Philippe Aumasson , Linux Crypto Mailing List 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 Sat, Aug 25, 2018 at 12:29 AM Eric Biggers wrote: > I thought you were going to wrap lines at 80 characters? It's hard to read the > extremely long lines, and they encourage deep nesting. > There are still some alignment bugs where integers are loaded from byte arrays > without using the unaligned access macros, e.g. in chacha20_init(), > hchacha20_generic(), and fe_frombytes_impl(). These fixes are now completed in the development tree.