Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3818199rwb; Mon, 5 Sep 2022 20:02:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cstMq8/+9aLEsRh2VctC1ah9HJsdQvgQkL/sUMRMN69u7yeDdBvUlL9cx3CtBG/+7YSJE X-Received: by 2002:a17:902:f60e:b0:176:73e1:3683 with SMTP id n14-20020a170902f60e00b0017673e13683mr16949000plg.27.1662433359916; Mon, 05 Sep 2022 20:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662433359; cv=none; d=google.com; s=arc-20160816; b=YGa9VE6FiFTqP0qCIh89PbjD6OXCsw8MKAjHJVSeFY3CxQSd2BOzl/DKGifg7UddlN nKXvOcE8LZU8FAJz0qVszxIqbJDarSI8+l3PC4RQdBuvfWqmWs5JKr6uBtro7ETNK+C0 0SBtIw+pRjJk8AD1d+Efn/QAFBhCvElRJVNmMXobM5AiYNAv8jO1oGsoEpUzH9G7d+pW /xj+hTc/RMUdG/RR2WImJIWTIz6+GT+vUffsFwRKAmE1RS0WB4ION5Ah12ul91I1klr1 fXhdGUlevHfmHuIlrmnO/mQJfyVsUxZ8GcXJNFiM37zAd2MULli6QAfTXwp6Gej00sj7 +RBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f9SNYQWnprxxClMNnaeVCmK6Kfg/AHOIpiytMtyCNb8=; b=atpLim32LKp1kajvGxKgp/9zPekSG2BFju2H5vgRhQ42ZFCcWlgKWdqyoBDcg2u5Cq mzaQsTzBr2P9ResOp4TSjcwBv1/pTAxKLCvjONMtbp8F5CuCQbRxsQ1M9LGOLHbqdtuz SxMjkiN83PBnYvT4CIHJN+N2YtNvYRvooN+w3qZGByiYpBTaNPSiszUDTK0S5rvITotq UHqtXgJeBy4NtZlKK+MIi5E8Y4dsjp3TlyCi8ecQ4YkmdD9sG0iMTuUs+YwllreBiu9/ 1icWXze6hTwQ9Z49pOBDIArVM/kjOj4qwayRi9JdJjCi9EMom53PBiuK0lvowAEpkAhA WRVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maxlinear.com header.s=selector header.b=m4F37Bjc; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=maxlinear.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t190-20020a6381c7000000b00434a43b5e7asi1027145pgd.92.2022.09.05.20.02.08; Mon, 05 Sep 2022 20:02:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maxlinear.com header.s=selector header.b=m4F37Bjc; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=maxlinear.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237829AbiIFCwB (ORCPT + 99 others); Mon, 5 Sep 2022 22:52:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbiIFCwA (ORCPT ); Mon, 5 Sep 2022 22:52:00 -0400 Received: from us-smtp-delivery-115.mimecast.com (us-smtp-delivery-115.mimecast.com [170.10.133.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E59F5F124 for ; Mon, 5 Sep 2022 19:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maxlinear.com; s=selector; t=1662432718; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f9SNYQWnprxxClMNnaeVCmK6Kfg/AHOIpiytMtyCNb8=; b=m4F37Bjc1x3XpYXwOxe7ItGlNnSxmw3m4nwR25fjdl8et6k1m7oBDq6FVM61KrhiIyO0Qq x1wjYAOKwix1K/XgjznuDSfUez+tBwMZGXOa8nagXgQsAwoVQEkm19iMnzd16qmRQVFEdO S6d1RAqP7WpVjfBhVpjOqG4jn8+zJajCz+73jyJpmr2CIyV/YfZyZUCwlZsfSrsvqhLz66 5A6U9dO4XQBdVo7wCI4QBZSi/8PZtzM7Rzm1AkPafYkLFbsIhdpB5WGqWAsYq77GshUAkj PwPavKl2gFKqurKGS0mMsx2j+NlO36t17L+Ovr21AC9b1XUCaC5E96UxHXWQ+w== Received: from mail.maxlinear.com (174-47-1-83.static.ctl.one [174.47.1.83]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id us-mta-622-D6flh4ZTPpmVigD8flmrZg-2; Mon, 05 Sep 2022 22:51:56 -0400 X-MC-Unique: D6flh4ZTPpmVigD8flmrZg-2 Received: from sgsxdev002.isng.phoenix.local (10.226.81.112) by mail.maxlinear.com (10.23.38.120) with Microsoft SMTP Server id 15.1.2375.24; Mon, 5 Sep 2022 19:51:54 -0700 From: Peter Harliman Liem To: , CC: , , "Peter Harliman Liem" Subject: [PATCH v2 2/2] crypto: inside-secure - Select CRYPTO_AES config Date: Tue, 6 Sep 2022 10:51:50 +0800 Message-ID: <60cb9b954bb079b1f12379821a64faff00bb368e.1662432407.git.pliem@maxlinear.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: maxlinear.com Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org CRYPTO_AES is needed for aes-related algo (e.g. safexcel-gcm-aes, safexcel-xcbc-aes, safexcel-cmac-aes). Without it, we observe failures when allocating transform for those algo. Fixes: 363a90c2d517 ("crypto: safexcel/aes - switch to library version of k= ey expansion routine") Signed-off-by: Peter Harliman Liem --- v2: Add fixes tag drivers/crypto/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 3e6aa319920b..b12d222e49a1 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -740,6 +740,7 @@ config CRYPTO_DEV_SAFEXCEL =09select CRYPTO_SHA512 =09select CRYPTO_CHACHA20POLY1305 =09select CRYPTO_SHA3 +=09select CRYPTO_AES =09help =09 This driver interfaces with the SafeXcel EIP-97 and EIP-197 cryptogra= phic =09 engines designed by Inside Secure. It currently accelerates DES, 3DES= and --=20 2.17.1