Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp714557pxb; Fri, 14 Jan 2022 14:48:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBd2xDiO5zOWMRzLVs8+gLTBx6H+/pRwMVdm3mbY0MZLNuHxjuKMpYfz79BwBsk2SccMlf X-Received: by 2002:a17:906:1ccb:: with SMTP id i11mr8821062ejh.135.1642200502169; Fri, 14 Jan 2022 14:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642200502; cv=none; d=google.com; s=arc-20160816; b=nvQSdsO6WjG1OMm77/NkMwx6p/IMaIPJU9mZhusSo4cWrDhvoL/ctLHGwdwLjLfRva yKF0GrX6ZP0B++MxH2xtX3xBiAFl+AzwLG7jNmU+RGwyPpRZcrM28aN2Gf0qdrHOO1/G IV78VVPj6dqAaWAqbsOOX8FZBpOuNVYahlBwxHhdLwnL8RDbfZgalJ9acxtnds6imppZ LIl0Q74gE2hG1xMngk4STCfE0/v5O0Z4/aJwG+g8k3g2uorSjew2EL61mhxIBV9E0N0w dfPcFpblDFlhiYUWYwuwjMo2j0BhQmmS5PJuJwjFuJ7M3pni309Q4bjvJaIe0Gf1unC0 Mvyw== 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:dkim-signature; bh=7+XOS+yU1t+lk/sHk/LsTZqTmWmSghHZu/3OGRdz47g=; b=GKHYumjduRTDpi5JqOgiAKf2bqNEZeY+OWYXQ1ZjBvFJhEw9Egw0zQc/L/9kIpR1Os BIRM27eN4WeyaydEpUm0M4uIDnRBCaf8rzvZN/g5N8Pnm0gA0WiTVEQu3qFymc1rvBBy eWE8FFYGgBM1uXVNijBChDvquJ4ScAfBN/0azcEbQWJE6xAocfkwgx/UcxPZNyM2GAp3 e4b2o3w+tT+b/pN18pTkYv17bwgobLMHz8QJWbbsdu6ryevkfJRA2hEhBHJQvqZTxzgo qlrEvDzb4gijSs3MwHpvwLXLWBHU/KYSDJ7u1ZZebuZvJjia7EzAbfJpKRCLTD6qE80M 5B5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=drxOjeeo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si4600803edd.21.2022.01.14.14.47.58; Fri, 14 Jan 2022 14:48:22 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=drxOjeeo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239075AbiANQTZ (ORCPT + 99 others); Fri, 14 Jan 2022 11:19:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236320AbiANQTY (ORCPT ); Fri, 14 Jan 2022 11:19:24 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8203DC061574; Fri, 14 Jan 2022 08:19:24 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id x83so3153585pfc.0; Fri, 14 Jan 2022 08:19:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7+XOS+yU1t+lk/sHk/LsTZqTmWmSghHZu/3OGRdz47g=; b=drxOjeeoSjznU61kIKfsu032f1Gk8Zs444uZ5DUVkCUkjSZKwKkaLfuCSHTf0SbPC6 pFbx+qhh58QvXOE4m37VpgeVxeT9h1j7lm3OoFdRq6hz3rCFP+b2fFB8L1HEnYE3Xajq tUkE9pouzRaNAEDXDlNmd/NiboXQGofTPXSnIR16a6g9V//KtR88Ckco2aPt+GQpmWtK dZ7F3nEvqOL4d+qALt+HZT513QDgp2M30hfU8bNJbbQYWkniBJDtovhZPiR89SbeFBHu LcLzpkifurEdffTm5aV5bRu3qSag+mAIoAjfrZtMGmHsdp2jPslCIdXCiL1tY0/FFiXh dJ+g== 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=7+XOS+yU1t+lk/sHk/LsTZqTmWmSghHZu/3OGRdz47g=; b=J9aWyV147EPZQKtLCitk6gzVmtUhRMuvvhvBWkDchq5ertdCFvLqjdIWx5L8+4pp0L VOWAS65PfuczL2KtZAaMjKwzstYx8Hs6XKjeOvSjud+vFbcgzc1Usoaz5X5u8uSTMg8/ LnXeQREVrvfY0WkBQ6AV9MWvWCegpwwVBbaMqd2bmBbGwimmgro+DV42fbdIBbpzfn5H stw6zusnfD+nbsPgVvHK/uytXGnhpl8otduWPxmpBm9GBHPtwBw+ofGFhIZGfHKFdtUM KuiEmBgKUEuRd/nrimUF2816setAFwAvlbn/3ai+99ykDUpRCVWhI3aWPp3tHYMO8cS7 0IoA== X-Gm-Message-State: AOAM530/3I06N6SjL7JHxhVNudzNJa7/MYhhXNCQFTHbOlGklIbf+JiA AI0CSexQE1k5Gdmrw17TN7mtv7sGYUqHfJKBQs4= X-Received: by 2002:a63:1ca:: with SMTP id 193mr8398425pgb.497.1642177163942; Fri, 14 Jan 2022 08:19:23 -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: Alexei Starovoitov Date: Fri, 14 Jan 2022 08:19:12 -0800 Message-ID: Subject: Re: [PATCH RFC v1 1/3] bpf: move from sha1 to blake2s in tag calculation To: Ard Biesheuvel Cc: "Jason A. Donenfeld" , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Network Development , LKML , Geert Uytterhoeven , Herbert Xu , 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 On Fri, Jan 14, 2022 at 7:08 AM Ard Biesheuvel wrote: > > Yeah, so the issue is that, at *some* point, SHA-1 is going to have to > go. sha1 cannot be removed from the kernel. See AF_ALG and iproute2 source for reference.