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: 168378 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4653901ilk; Tue, 2 Jul 2019 12:42:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyai5+JZ3t0ylgq7zRAkZluq0HPDIbC9ZNyKZqO3Ec+zdkyFFZGC6c4/ETxHLoNTuH0GUpj X-Received: by 2002:a17:902:a9ca:: with SMTP id b10mr32324781plr.69.1562096577296; Tue, 02 Jul 2019 12:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562096577; cv=none; d=google.com; s=arc-20160816; b=Qb7jNDZ4ZQCrHx6X3xKJrTrDzKl7+4Cvmcdum0NebFx6hfjE0t/c5fqYNqZ2UP5BvZ +krtNPHn++rl/e74m2PxvuBNfGBhAMLfIANhPgdloJFh4zEuc4ZcA+hY3dQq+z3ohNIm Du6IC+uXMkqXdVC5i/owukTMG5Mkxf614Swfg12u0F+k7HIfdLlH3RlMUErDhF0EUgGI mF4srbrFkBbjhbDDRc1K6tT6zxu6W03nfpK1i0gQ/3H/mxSlXli9+DOoqzAxOimP/A90 i3j5flukmQXqfiI0fp+bG8wxKFp2vBEQeSKG8lM+F8h6PgJEiiD7p+Vu7kNPRoqEYQjv SqTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=8YyWMi1jO77As8cVPxq35RAv7TeBcYZ2R24IVOGIcG4=; b=rwsQuXs8UE49VeoOiIg4JHl/iezXE04BCoVK+FEvOSRGyxazaOKVaPU6buRRZf2Rnf rWp7TVd5TTtaVArD9HEuZRR2xAmreAwXikg6AEOhlIV2r8l6mVqUTV4qPYbULqvfi+Vs Z6DcIjycpMLNu3fQR3KacxenLE3qFzmQ4ZfAuMqYO1rUAe/9FfJ0PuKk/ql1EYMue0nG em/dlV32PmLaRxux6p/JqL7lZyjqrbBuvbU2kRy+o5nzKPCHYJ9IZ3xk0h2etHM2E5HV tpadv3VtPKupoMqt8Rb3L8ck1A0PliFkxzG4ON+R0kz8jEgceedrHrpKvLfT3uZZRf00 vC9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OGT3WCj2; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si13733891plf.87.2019.07.02.12.42.57; Tue, 02 Jul 2019 12:42:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OGT3WCj2; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727118AbfGBTm4 (ORCPT + 3 others); 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-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 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(-) -- 2.17.1 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) {