Received: by 2002:a05:6a10:e90b:0:0:0:0 with SMTP id gt11csp1043786pxb; Wed, 7 Apr 2021 18:07:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9doQFEhYyHDjwfUI5qTMT0z/Fsk/VLdAdWCADezWRHnO87TqLoPDz/A1R9E3oIM9SIPes X-Received: by 2002:a63:485b:: with SMTP id x27mr5866032pgk.0.1617844044389; Wed, 07 Apr 2021 18:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617844044; cv=none; d=google.com; s=arc-20160816; b=JeJt4SqW7VwBjaI2tqn9efOrwKT6uvF8sfAw2I8Asj0SUILxfdfa5acLqzelgTV6aa zviA2fjFhCgpuIunguambFSr031Ls9p+FYzxu5XavxOobZpmrG20AHZTmvZpJ4gLW22i 6rB0ZPDxbZJIQmfTYWT3PTWtqUbW0D9nTaFKifqg/gUtusV19eLKLK8BCVEGlqH08+nJ VhinRMZyPbUToCBswDkr0gQs7gAwf1rEpJL8fkgS0XWSr67PcQEEMX43zqP5J8gc5Bl/ dNCjl6L205BAEbHE8i0hQYlqp3nCg1v6vTO/K1sqPbhy/fwuuN6RtZVKhmEV8X7fg8WU adhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wilm16Ub8BB1XoT4ev+bET2RH1JL/eiAqerv1Ew7RoM=; b=G+XdbJha76hzQGqBu8nNZZT0GxYm6gCSGn+2knZSFblTjl3H6WHs3+DMdoHRMNRl5T sN2ixkWe+xIB511zgB4ajXKxIlea4Q3m4PgQ5CMbLwIn7sp1vDO4v+pkCvkRPiPHHqG9 ltfohbMPokfblmDtJfK/enMJJG9QQVuhZ5klDeps92UH95Qd8Y7gZNi/ENiKECfgn6Rp Oj5JUt4uGOkCDcPedLzS8nRiOPjgSBsCSpdfjxuBV4pR0awDe8FjfeHzKwi9ECq0SQqN uG75SQ7EEPGDyKX7WkzCMmRQrlCiOuEhxWgex0DfBde62NAr9cZD5hkAiF0iJ4FnNPtd pNxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nvSTKc5P; 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 t15si7517939pji.149.2021.04.07.18.06.59; Wed, 07 Apr 2021 18:07:24 -0700 (PDT) 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=20161025 header.b=nvSTKc5P; 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 S229884AbhDHBHE (ORCPT + 99 others); Wed, 7 Apr 2021 21:07:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhDHBHD (ORCPT ); Wed, 7 Apr 2021 21:07:03 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60ED0C061760; Wed, 7 Apr 2021 18:06:52 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id ha17so237856pjb.2; Wed, 07 Apr 2021 18:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=wilm16Ub8BB1XoT4ev+bET2RH1JL/eiAqerv1Ew7RoM=; b=nvSTKc5PujztH5rKuQaDnnYjuR/107vkLSvjfbXWnXH0+3vlmNO4WUyh+ZViotytIB wy9cKH7J8PrNRSNMEz2m9/6aIG8trf5YgdqRFBPS4agxPOWGVcdOBxeHdTo+jWDRVMFE ifSfvWpUPSTZN8wpleooC+eqaOdI/nuTHncyBiinrCPDFOzPRMhdFoa2wopUBGbJEIGF iySY7agK0k+urzIQTscqpWJK4LVyM/eWY1DAx1flaYedjLt8/jmnET7r9MiYBJcCTb25 KKzerHpVAvk6zm5NTBVBJq+FDSXxugMXVmnMjAH7ImFUJwjFdh9dH/jgEl+XWZ74nPsz jqMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=wilm16Ub8BB1XoT4ev+bET2RH1JL/eiAqerv1Ew7RoM=; b=EL6RYUdBiyQ+ffbcRUbDj4i73crRnI0bQaaTJJ8Ka6HnjK5NiZBWCjvvSkRHPvUGJY wd0Bbm15KVY85lxuIcfYsrEuHC2LBqNoOGJ4P8zUPeYHKGyT/UfU9kkfXQwavXUH9g8b P1eCBdFkI5iLVnlJG7VfQ7Kb3gpoVF82/batYk2gbPvg45DrObQtZm8fDzm+gYhPVU8Q 4gR1hoTba969BaeJNbXPLZuy/zuA+TIQQ62n4qtBD5pLfT7aDuwcsGVZcJzLApXNVjeI 7kwKceJlqECJBaaAH7iMYHmalWLAOPFM7r0v6MtKekeGFARqXd/b3nfOF3VLzv7wUTCK RYkg== X-Gm-Message-State: AOAM532tfAGiFrcqT03jcJ2WrisljT0hOykz4wEEIQz91mfps3py8Kt/ Pdp31HPlMGexWsHedzr06zw= X-Received: by 2002:a17:902:7446:b029:e9:6692:f523 with SMTP id e6-20020a1709027446b02900e96692f523mr4904685plt.10.1617844011869; Wed, 07 Apr 2021 18:06:51 -0700 (PDT) Received: from Leo-laptop-t470s ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id gg22sm6454563pjb.20.2021.04.07.18.06.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 18:06:51 -0700 (PDT) Date: Thu, 8 Apr 2021 09:06:40 +0800 From: Hangbin Liu To: Eric Biggers Cc: netdev@vger.kernel.org, "Jason A . Donenfeld" , Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Jakub Kicinski , Ondrej Mosnacek , linux-crypto@vger.kernel.org Subject: Re: [PATCH net-next] [RESEND] wireguard: disable in FIPS mode Message-ID: <20210408010640.GH2900@Leo-laptop-t470s> References: <20210407113920.3735505-1-liuhangbin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Apr 07, 2021 at 02:12:27PM -0700, Eric Biggers wrote: > On Wed, Apr 07, 2021 at 07:39:20PM +0800, Hangbin Liu wrote: > > As the cryptos(BLAKE2S, Curve25519, CHACHA20POLY1305) in WireGuard are not > > FIPS certified, the WireGuard module should be disabled in FIPS mode. > > > > Signed-off-by: Hangbin Liu > > I think you mean "FIPS allowed", not "FIPS certified"? Even if it used FIPS > allowed algorithms like AES, the Linux kernel doesn't come with any sort of FIPS > certification out of the box. Yes, you are right. > > Also, couldn't you just consider WireGuard to be outside your FIPS module > boundary, which would remove it from the scope of the certification? > > And how do you handle all the other places in the kernel that use ChaCha20 and > SipHash? For example, drivers/char/random.c? Good question, I will check it and reply to you later. Thanks Hangbin