From patchwork Tue Jul 2 19:41:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 11028663 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 88D4F1510 for ; Tue, 2 Jul 2019 19:42:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72F8D287BB for ; Tue, 2 Jul 2019 19:42:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67840288EA; Tue, 2 Jul 2019 19:42:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10BF9287BB for ; Tue, 2 Jul 2019 19:42:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727118AbfGBTm4 (ORCPT ); Tue, 2 Jul 2019 15:42:56 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37970 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727069AbfGBTmy (ORCPT ); Tue, 2 Jul 2019 15:42:54 -0400 Received: by mail-lj1-f194.google.com with SMTP id r9so18182002ljg.5 for ; Tue, 02 Jul 2019 12:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8YyWMi1jO77As8cVPxq35RAv7TeBcYZ2R24IVOGIcG4=; b=OGT3WCj2HtxECpg7NfJSpD1KmuRBU7NWq738rqhEeeKUAcPzuh4+Diky8oujOL9mj4 v7wQBrB9gMcs4OCtaBgMt4XVu1Xq4xFvqZNzyFeTL1I6pt1sTUSCOdGVKlAgny9aXQR4 QXP6c9NNP9e46o8tCroK/X6g0IIEwf9yFtiCeXs86wotXZNYjC+AbsEdJVKhiYGE6S4i h5v2inineSzvJF1S8CdrrtZZ6snzRDJ4KrduWH7nt+tffAph98tE+KhOkIhE6mb7MlQ5 NdrAO4LyMyzbUYTG9GlyKBZ35b69yl7vJ1T17XRkpG5oc/6ZzGAEkkSr2aFd/9ElbeBB vVqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8YyWMi1jO77As8cVPxq35RAv7TeBcYZ2R24IVOGIcG4=; b=uY37dpZMAjNE91kZ5yihpXMXc70meT/3DQuMxu+bVBnAodSXutCCowzwvMJfsUUea/ rUEfH1elPa8CS0jrYlNoFobH8Suop2czVQc7LTDrBJPWIuDHm6ypwsiMNW95YTOageAf oHcwhVQ17c8eXLbHNOTRyx43KPlmjpty02c4xZQtn1D3DUbLJd7VM7QPuN9yflnLKrJL N1jU4MhbeA0QT+hAuBPc1t6fWmYHkb3VIEOgh/gsB95axWMOi5DjS1AnSmKLv2cUk88u 5oW9YunyHS8fIRmrVJHEtjJ+vykqzY+gbFRcJUlXRankRISv+N7gQp9hFBhJexCFOALh pxLQ== X-Gm-Message-State: APjAAAW8Ls9cmSB/2NnEuIs83IeICX4glRaEWTWHp9SGZebusfO/i/N7 TlqIlzSxCNLI1htADOiLOWiey4zRkKCcLTc3 X-Google-Smtp-Source: APXvYqyPKkCqR+mI0pGDYve0Qa2c/LUBczCdiJ7J77KXWiX4p/TP6MwI99WF5X9eran4flHAs9heEA== X-Received: by 2002:a2e:8e90:: with SMTP id z16mr18659630ljk.4.1562096572467; Tue, 02 Jul 2019 12:42:52 -0700 (PDT) Received: from e111045-lin.arm.com (89-212-78-239.static.t-2.net. [89.212.78.239]) by smtp.gmail.com with ESMTPSA id 24sm4475163ljs.63.2019.07.02.12.42.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 02 Jul 2019 12:42:51 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, ebiggers@google.com, Ard Biesheuvel Subject: [PATCH v4 32/32] crypto: arm/aes-scalar - unexport en/decryption routines Date: Tue, 2 Jul 2019 21:41:50 +0200 Message-Id: <20190702194150.10405-33-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190702194150.10405-1-ard.biesheuvel@linaro.org> References: <20190702194150.10405-1-ard.biesheuvel@linaro.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The scalar table based AES routines are not used by other drivers, so let's keep it that way and unexport the symbols. Signed-off-by: Ard Biesheuvel --- arch/arm/crypto/aes-cipher-glue.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/crypto/aes-cipher-glue.c b/arch/arm/crypto/aes-cipher-glue.c index f6c07867b8ff..26a2b81c2c12 100644 --- a/arch/arm/crypto/aes-cipher-glue.c +++ b/arch/arm/crypto/aes-cipher-glue.c @@ -14,10 +14,7 @@ #include asmlinkage void __aes_arm_encrypt(u32 *rk, int rounds, const u8 *in, u8 *out); -EXPORT_SYMBOL(__aes_arm_encrypt); - asmlinkage void __aes_arm_decrypt(u32 *rk, int rounds, const u8 *in, u8 *out); -EXPORT_SYMBOL(__aes_arm_decrypt); static void aes_arm_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) {