Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1009795pxf; Thu, 8 Apr 2021 19:49:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaE+BUr7m2ZflEfYi+FCHR3y/maOxUbssl6Iv8mcKG2Bu+S3REu15WF/fb9NRIYZOGzGTK X-Received: by 2002:a17:90a:d256:: with SMTP id o22mr11695749pjw.22.1617936572157; Thu, 08 Apr 2021 19:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617936572; cv=none; d=google.com; s=arc-20160816; b=c/YfQ8oZElJ4L/aDkTJZbBVOdnHcsZjac5QIlO1pRPqgg3z3naECTU/rotAfEjF98G 8LUm6+g4nA1mxTrevuNi/PHkTbKjyALPqSwFYSYSjBg60+idWqnwb4ll5cqJvmP0Vr65 xVIbmXjV0Q5TnmvdTl7TQDaZSbmUO6qR1NJocKXAlQekrAuoq2iPdg+yv48SMl4hvSZ/ /piZ5o2sSyMdatwJPCUfzMGaUt4WsmevXtR2zOTkfO9Ymo9KhWDBYJIR8akjGpKk0mn6 P0sfvp8jiiHs3lJVCzmmb+lictOnyqXkUGVlqB3eQ3+M01SByNW4c6PbQsP3Qnd/FjxF /38g== 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=dR80kyoECcnOrPvoj5x4devJIhpkiy288PkyOxO5h5k=; b=Owqm0VOJdphJ25bEMEgFSswauaqEn0gBfSEivmtYLgcuqLOEyNIRs1JxmuQjcPehn2 vMstDi8pEpFbuUL43XESEyap2bxhdyPmBC9GK6Cc2C12jCP6NMrTqQdOWs+6EzKFWXFc phDPpy32sBdX63TYXYe8s6c3cH5AbwUqw0fzl64pKCSKxldV8dDw7XpfB9h6ZFSRz34k dXVea4RZgLVVg9r0TTioAi41P0brtK+to8sLdxh6XeDnw9vVAS8IYkFhPPqb2RCwk/0t HtcBZsZXE8eNAIRQPPh5/m5F+XYybkXvhZWSAfVmDBaKuROmWiujJBAcfnH+5S/XeArA lYdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AgwtRJau; 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 x13si1891581pja.158.2021.04.08.19.49.20; Thu, 08 Apr 2021 19:49:32 -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=AgwtRJau; 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 S232688AbhDICta (ORCPT + 99 others); Thu, 8 Apr 2021 22:49:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232638AbhDICta (ORCPT ); Thu, 8 Apr 2021 22:49:30 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85854C061760; Thu, 8 Apr 2021 19:49:18 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id t22so1700689ply.1; Thu, 08 Apr 2021 19:49:18 -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=dR80kyoECcnOrPvoj5x4devJIhpkiy288PkyOxO5h5k=; b=AgwtRJau4jh/pRKYrdNuVTH5hr9Td73qOgEvqonERVLoAYuKQdb+2joVQiHn1OGI+n oM/GJmYtykWSjMRmt7jCyC3yqTrOugmM5xOp70cUpzTC1Le7W3cd6SnpoXEj1RYLjX4q Kk6RJcv6U2adjWHZAfDkbTDwWfSrJWJuEHGuAde7ZRTgsIF0vf0xsOoIL8MrsmAJVTet Wb/M7aDcIxLF19ylQjjnqqeqz5UvnyOoIiorZHlh10O1QhErtSTNLzJiIXmKwcTBYjWZ smlkA/jG5SLe8gSFX+dSV2mIFnmUEiB/Yb28C49SWTue3D8uuwkl4VMplPqsGMM6ffju fqMg== 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=dR80kyoECcnOrPvoj5x4devJIhpkiy288PkyOxO5h5k=; b=KVcThJL5xH8DGeMXaZ42hs/+0y4OZa0tvxZwyJc8mqipsdaU/eL4srp9f89RasmyGZ PcYQUETdADhnC75DhlVLOzyvfAEQfkOV/qsYMa0I7IWknEqInyLwaW73KoSmS4+i7JVq xji/4lwJBjE++6z3gZnr9SLFaFddoz3Jdvz/HEOVBLJg7ZjHYn6EhjLT97zeoTuUpfOI akH/6GUtkDDfg5HZ7iPwSAfboRaXUKgAVM2QLizsZuZFP8b0Ps9zBlO4oUNsANYYad1m 9/5nVVL/oj3W0BamyStX3wqnTv3vzZ7GtoCRuo8AXyTGjrn4rMQ857s5h9piH4FPYrxx DRhg== X-Gm-Message-State: AOAM532MkmWbuH9LaFsNMLxEVU0tg0icvWj69NJTd27OZXAuomwyzk/w RcL2cBNeb/65UkftfBk/TRA= X-Received: by 2002:a17:90a:5889:: with SMTP id j9mr12051916pji.69.1617936558120; Thu, 08 Apr 2021 19:49:18 -0700 (PDT) Received: from Leo-laptop-t470s ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id c193sm656029pfc.180.2021.04.08.19.49.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 19:49:17 -0700 (PDT) Date: Fri, 9 Apr 2021 10:49:07 +0800 From: Hangbin Liu To: "Jason A. Donenfeld" Cc: Simo Sorce , Netdev , Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Jakub Kicinski , Ondrej Mosnacek , Linux Crypto Mailing List Subject: Re: [PATCH net-next] [RESEND] wireguard: disable in FIPS mode Message-ID: <20210409024907.GN2900@Leo-laptop-t470s> References: <20210407113920.3735505-1-liuhangbin@gmail.com> <20210409024143.GL2900@Leo-laptop-t470s> 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 Thu, Apr 08, 2021 at 08:44:35PM -0600, Jason A. Donenfeld wrote: > Since it's just a normal module library, you can simply do this in the > module_init function, rather than deep within registration > abstractions. I did a try but looks it's not that simple. Not sure if it's because wireguard calls the library directly. Need to check more... Hangbin