Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp651316pxb; Fri, 14 Jan 2022 13:13:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzszJMOWDGEZVgTn5c1WppdbEE4jwj0paiG+fjk3kGVUq5q09ZAevQUIwA2FcpNRbBw6SYK X-Received: by 2002:a17:907:10d5:: with SMTP id rv21mr8557640ejb.52.1642194822909; Fri, 14 Jan 2022 13:13:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642194822; cv=none; d=google.com; s=arc-20160816; b=tmhmNjgYDOMGkHaLHseAN9nmtzH2qzX5wZ8VyMXiLE7I3ir9copN6jB3/QrLFZJfjT gyII3ekGCtc1iSxxwrubqLOAgGtSoHL9eRoLXuGrR2mKFaXJnRzZoOUL7KP0XXvpoa1B nNq2gMgfEWlfxeUirI0gycAHYpH7+JLbPEpEAV0jZQ6e3hBkgF17I/pnAg3Kiz9VV289 FaJ8lYLrDlq449ejKm0pY0/Kb30uOpRFF9yHlvzzRC6lyhU0y7lcgkILcuJcrc6n/tvj hhgE9ZQDEkDiOBdBYAVLEN7D8h6iwwn3kKqhD3i5o0eTkozkjFBOU4FpQo6nivGKZegO Nhpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Sy7lT+eK8ipvfv0Ofk1ldO/tYfoiahfm+fHSJgI7+Xs=; b=TJI1ln0E8sAJNPtkTCeTyWXdGhakIhkyCUdvnFrspN2KvtebXfbXlVMiX2eE0x09gi ZT3LZw9fD1ve93knt1ERzCBg607+34GJvC2Vh0L8iu86Uc55qFgKJ68/WOYgqsQSbTG0 DjqPjaFijK1R8nPA+qfkZ5YWctPfTH+l9CRT0j9uf3vLDJCmewQ2n84KQ5qxTm0LXl3u O4V0coB6a6TVevRqCBYdoNpyF6yuJIsl8NXe6Cay0BqYUO4C93821nljh3v4jiQGB/3M pjSstnkkgyUVRuvDOexOYPAitxqcRakZP0Cd95BvkZPQd1sJbStNL55Kwuy7fG/heQ96 gl6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di6si4072813ejc.360.2022.01.14.13.13.05; Fri, 14 Jan 2022 13:13:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233950AbiANIdt (ORCPT + 99 others); Fri, 14 Jan 2022 03:33:49 -0500 Received: from mail-ua1-f52.google.com ([209.85.222.52]:40820 "EHLO mail-ua1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233622AbiANIdt (ORCPT ); Fri, 14 Jan 2022 03:33:49 -0500 Received: by mail-ua1-f52.google.com with SMTP id w21so6260022uan.7; Fri, 14 Jan 2022 00:33:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Sy7lT+eK8ipvfv0Ofk1ldO/tYfoiahfm+fHSJgI7+Xs=; b=CxrkKtDb0bQBRSg8bGzObzfkMdWdLj+QaLq822JccgbrkrtZJ9qsALhOtRkSxpnAlJ +LztWhgqlj+q0gde1w9ZTIWrepAi+U+Zv54+5uM047NoVi43FkAVp28d2X20DwgfN+sO OdVftcRsaD4JmuvNDHnlIsTIfczli/RvobUGFa+UzTxo4qIr0sEicHl1W9e41ZTaJWlg baWu3JFEUz6l06Hh5IvRvCKwltDZo0ZP1vOKz3+V6GUzsrk+606t9HFPwbnAJAQeqHKc U4FqQMa7ZQY9LVVMaqVodT7e8Gm1Pgfhlye+WYllSPsaDKLGQ+5oHP9q3dF5KK1lzSBJ n31A== X-Gm-Message-State: AOAM5314EITKksdxyh/QwVSin2Bx9CxICv01OJ2vqGKTgu2fdt8fkAPo BDGNPd/TrI4OPZRK/Mr6WchoYdt35/C8pA== X-Received: by 2002:a05:6102:807:: with SMTP id g7mr3435871vsb.65.1642149228403; Fri, 14 Jan 2022 00:33:48 -0800 (PST) Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com. [209.85.222.46]) by smtp.gmail.com with ESMTPSA id c25sm2446948vsk.32.2022.01.14.00.33.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Jan 2022 00:33:47 -0800 (PST) Received: by mail-ua1-f46.google.com with SMTP id o1so15732561uap.4; Fri, 14 Jan 2022 00:33:47 -0800 (PST) X-Received: by 2002:a67:e905:: with SMTP id c5mr3691251vso.68.1642149227718; Fri, 14 Jan 2022 00:33:47 -0800 (PST) MIME-Version: 1.0 References: <20220112131204.800307-1-Jason@zx2c4.com> <20220112131204.800307-2-Jason@zx2c4.com> <87tue8ftrm.fsf@toke.dk> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 14 Jan 2022 09:33:36 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RFC v1 1/3] bpf: move from sha1 to blake2s in tag calculation To: Alexei Starovoitov Cc: "Jason A. Donenfeld" , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Network Development , LKML , Herbert Xu , Ard Biesheuvel , Jean-Philippe Aumasson , Linux Crypto Mailing List , bpf Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Alexei, On Thu, Jan 13, 2022 at 11:45 PM Alexei Starovoitov wrote: > On Thu, Jan 13, 2022 at 4:27 AM Jason A. Donenfeld wrote: > > On 1/13/22, Alexei Starovoitov wrote: > > > Nack. > > > It's part of api. We cannot change it. > > > > This is an RFC patchset, so there's no chance that it'll actually be > > applied as-is, and hence there's no need for the strong hammer nack. > > The point of "request for comments" is comments. Specifically here, > > I'm searching for information on the ins and outs of *why* it might be > > hard to change. How does userspace use this? Why must this 64-bit > > number be unchanged? Why did you do things this way originally? Etc. > > If you could provide a bit of background, we might be able to shake > > out a solution somewhere in there. > > There is no problem with the code and nothing to be fixed. "Your Jedi mind tricks don't work on me." The "problem" is that this is one of the few last users of SHA-1 in the kernel. Can you please answer the questions above, so we can get a better understanding? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds