From patchwork Thu Jul 14 05:12:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 590561 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFE16C43334 for ; Thu, 14 Jul 2022 12:18:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231654AbiGNMSH (ORCPT ); Thu, 14 Jul 2022 08:18:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbiGNMSG (ORCPT ); Thu, 14 Jul 2022 08:18:06 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D23B53DBFE; Thu, 14 Jul 2022 05:18:05 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id r6so2155377edd.7; Thu, 14 Jul 2022 05:18:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=z8FXPQ2HFsdQUAT+K94K5LqC4oPDIoYE7B3AmbxBbmI=; b=fzmSn9/0x8bBpW8nEI3Fg9gdUlqbZV3NJ1Ga577qdd9juU5LLRLDsVpsnF9eve16qO IAHT20iruWgksIAS26sdrKpyIXdjRdg6k1RVPUFWOcF6wv22nEXx9gh6ATGsOHra0tB3 kt7b/azZLQgTMRht51dENVUdXOwTGI0vmnUYZMqlymsT1HXfpRHZ+VtTmtNvi+Q3PQFW 10rzDoz1GKz1HrwvBUbXHYY/43Hy5PLf7tJCOqL/MJ/820FCt16Tf+5Ns7tmYoQq9lPA 86//5VL1abd62POh/EAbV1Vmv/p1vymTQIkcE75arO4BBBm+mAHYxpowLv9ravmW9Y7z jVwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=z8FXPQ2HFsdQUAT+K94K5LqC4oPDIoYE7B3AmbxBbmI=; b=LvmEySddXmXb/Oghzr2n/EIuFH6jSACO+lPkE+sMXwxwXF/y51eR/sTLqiZFZcEwno d/y6q0eJRgRG+w2lH0H+bIH4Trmcjtph9SVF3yYBCQRRrMywRIPlF0+MGHIDsMtH8NLU Z/ArD9ef15zKjcf10pDL88AQuSU/SsLsLM2R6VS2MVJpmwFrU83XXcpXw5ZnjPn+N2KT q4hBBJs3G9h1ddpLl8F+alAiatJXycFs0LbwJW8BFKl134T4kL7dmjb0Ay9nbQBPSGzg ruuDNwkcv3VhVN9tcjMuat2W2FCFUQDgkj59ejIMQnR5nwNS6L4vfZCz4ErjW4ET7b1V 0jXw== X-Gm-Message-State: AJIora/4fjsZ6mUprEURQ/7MPzHYuaj+SB8XKUKlWMIgQfqRytD81Yfo LfUsnKIy3KhAffc2NgDZ7Is= X-Google-Smtp-Source: AGRyM1s0FLooPPofTKzsmTjW38dN7FmunKqAOFb5+ZQWmFsV95mTK4M5ORXv2xU0JZ+JtCFtyk79Ow== X-Received: by 2002:a05:6402:3886:b0:435:643a:b7ae with SMTP id fd6-20020a056402388600b00435643ab7aemr11823103edb.4.1657801084100; Thu, 14 Jul 2022 05:18:04 -0700 (PDT) Received: from localhost.localdomain (93-42-70-190.ip85.fastwebnet.it. [93.42.70.190]) by smtp.googlemail.com with ESMTPSA id b6-20020a170906038600b00711edab7622sm636692eja.40.2022.07.14.05.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 05:18:03 -0700 (PDT) From: Christian Marangi To: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Marangi Subject: [PATCH] crypto: lib/arc4 - expose library interface Date: Thu, 14 Jul 2022 07:12:21 +0200 Message-Id: <20220714051221.22525-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Permit to compile the arc4 crypto lib without any user. This is required by the backports project [1] that require this lib for any wireless driver. [1] https://backports.wiki.kernel.org/index.php/Main_Page Signed-off-by: Christian Marangi --- lib/crypto/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig index 2082af43d51f..2dfc785a7817 100644 --- a/lib/crypto/Kconfig +++ b/lib/crypto/Kconfig @@ -6,7 +6,11 @@ config CRYPTO_LIB_AES tristate config CRYPTO_LIB_ARC4 - tristate + tristate "ARC4 library interface" + help + Enable the ARC4 library interface. This interface is mainly + used by wireless drivers and is required by the backports + project. config CRYPTO_ARCH_HAVE_LIB_BLAKE2S bool