lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1345345030-22211-37-git-send-email-andi@firstfloor.org>
Date:	Sat, 18 Aug 2012 19:56:32 -0700
From:	Andi Kleen <andi@...stfloor.org>
To:	linux-kernel@...r.kernel.org
Cc:	x86@...nel.org, mmarek@...e.cz, linux-kbuild@...r.kernel.org,
	JBeulich@...e.com, akpm@...ux-foundation.org,
	Andi Kleen <ak@...ux.intel.com>, herbert@...dor.apana.org.au
Subject: [PATCH 36/74] lto, crypto, camelia: Make camelia tables used by assembler __visible

From: Andi Kleen <ak@...ux.intel.com>

Cc: herbert@...dor.apana.org.au
Signed-off-by: Andi Kleen <ak@...ux.intel.com>
---
 arch/x86/crypto/camellia_glue.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/x86/crypto/camellia_glue.c b/arch/x86/crypto/camellia_glue.c
index eeb2b3b..f290db7 100644
--- a/arch/x86/crypto/camellia_glue.c
+++ b/arch/x86/crypto/camellia_glue.c
@@ -91,7 +91,7 @@ static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
 }
 
 /* camellia sboxes */
-const u64 camellia_sp10011110[256] = {
+__visible const u64 camellia_sp10011110[256] = {
 	0x7000007070707000, 0x8200008282828200, 0x2c00002c2c2c2c00,
 	0xec0000ecececec00, 0xb30000b3b3b3b300, 0x2700002727272700,
 	0xc00000c0c0c0c000, 0xe50000e5e5e5e500, 0xe40000e4e4e4e400,
@@ -180,7 +180,7 @@ const u64 camellia_sp10011110[256] = {
 	0x9e00009e9e9e9e00,
 };
 
-const u64 camellia_sp22000222[256] = {
+__visible const u64 camellia_sp22000222[256] = {
 	0xe0e0000000e0e0e0, 0x0505000000050505, 0x5858000000585858,
 	0xd9d9000000d9d9d9, 0x6767000000676767, 0x4e4e0000004e4e4e,
 	0x8181000000818181, 0xcbcb000000cbcbcb, 0xc9c9000000c9c9c9,
@@ -269,7 +269,7 @@ const u64 camellia_sp22000222[256] = {
 	0x3d3d0000003d3d3d,
 };
 
-const u64 camellia_sp03303033[256] = {
+__visible const u64 camellia_sp03303033[256] = {
 	0x0038380038003838, 0x0041410041004141, 0x0016160016001616,
 	0x0076760076007676, 0x00d9d900d900d9d9, 0x0093930093009393,
 	0x0060600060006060, 0x00f2f200f200f2f2, 0x0072720072007272,
@@ -358,7 +358,7 @@ const u64 camellia_sp03303033[256] = {
 	0x004f4f004f004f4f,
 };
 
-const u64 camellia_sp00444404[256] = {
+__visible const u64 camellia_sp00444404[256] = {
 	0x0000707070700070, 0x00002c2c2c2c002c, 0x0000b3b3b3b300b3,
 	0x0000c0c0c0c000c0, 0x0000e4e4e4e400e4, 0x0000575757570057,
 	0x0000eaeaeaea00ea, 0x0000aeaeaeae00ae, 0x0000232323230023,
@@ -447,7 +447,7 @@ const u64 camellia_sp00444404[256] = {
 	0x00009e9e9e9e009e,
 };
 
-const u64 camellia_sp02220222[256] = {
+__visible const u64 camellia_sp02220222[256] = {
 	0x00e0e0e000e0e0e0, 0x0005050500050505, 0x0058585800585858,
 	0x00d9d9d900d9d9d9, 0x0067676700676767, 0x004e4e4e004e4e4e,
 	0x0081818100818181, 0x00cbcbcb00cbcbcb, 0x00c9c9c900c9c9c9,
@@ -536,7 +536,7 @@ const u64 camellia_sp02220222[256] = {
 	0x003d3d3d003d3d3d,
 };
 
-const u64 camellia_sp30333033[256] = {
+__visible const u64 camellia_sp30333033[256] = {
 	0x3800383838003838, 0x4100414141004141, 0x1600161616001616,
 	0x7600767676007676, 0xd900d9d9d900d9d9, 0x9300939393009393,
 	0x6000606060006060, 0xf200f2f2f200f2f2, 0x7200727272007272,
@@ -625,7 +625,7 @@ const u64 camellia_sp30333033[256] = {
 	0x4f004f4f4f004f4f,
 };
 
-const u64 camellia_sp44044404[256] = {
+__visible const u64 camellia_sp44044404[256] = {
 	0x7070007070700070, 0x2c2c002c2c2c002c, 0xb3b300b3b3b300b3,
 	0xc0c000c0c0c000c0, 0xe4e400e4e4e400e4, 0x5757005757570057,
 	0xeaea00eaeaea00ea, 0xaeae00aeaeae00ae, 0x2323002323230023,
@@ -714,7 +714,7 @@ const u64 camellia_sp44044404[256] = {
 	0x9e9e009e9e9e009e,
 };
 
-const u64 camellia_sp11101110[256] = {
+__visible const u64 camellia_sp11101110[256] = {
 	0x7070700070707000, 0x8282820082828200, 0x2c2c2c002c2c2c00,
 	0xececec00ececec00, 0xb3b3b300b3b3b300, 0x2727270027272700,
 	0xc0c0c000c0c0c000, 0xe5e5e500e5e5e500, 0xe4e4e400e4e4e400,
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ