summaryrefslogtreecommitdiffstats
path: root/crypto/ec/curve448/curve448_tables.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-12-13 09:57:12 +0000
committerMatt Caswell <matt@openssl.org>2018-02-20 12:59:30 +0000
commit7d9e120fea8481449b376af7fa9bbe7995a75f35 (patch)
treea151257969f357263fc1aedc1f8088461d972546 /crypto/ec/curve448/curve448_tables.c
parente54f5f397acde3798f2666c0fb3e797c50d571cf (diff)
Fixes for compilation using clang
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/5105)
Diffstat (limited to 'crypto/ec/curve448/curve448_tables.c')
-rw-r--r--crypto/ec/curve448/curve448_tables.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/ec/curve448/curve448_tables.c b/crypto/ec/curve448/curve448_tables.c
index b43a89253a..f3b7d9e9c7 100644
--- a/crypto/ec/curve448/curve448_tables.c
+++ b/crypto/ec/curve448/curve448_tables.c
@@ -13,8 +13,8 @@
#include "point_448.h"
-const gf curve448_precomputed_base_as_fe[240]
-VECTOR_ALIGNED = {
+extern const gf curve448_precomputed_base_as_fe[];
+const gf curve448_precomputed_base_as_fe[240] VECTOR_ALIGNED = {
{FIELD_LITERAL(0x00cc3b062366f4cc,0x003d6e34e314aa3c,0x00d51c0a7521774d,0x0094e060eec6ab8b,0x00d21291b4d80082,0x00befed12b55ef1e,0x00c3dd2df5c94518,0x00e0a7b112b8d4e6)},
{FIELD_LITERAL(0x0019eb5608d8723a,0x00d1bab52fb3aedb,0x00270a7311ebc90c,0x0037c12b91be7f13,0x005be16cd8b5c704,0x003e181acda888e1,0x00bc1f00fc3fc6d0,0x00d3839bfa319e20)},
{FIELD_LITERAL(0x003caeb88611909f,0x00ea8b378c4df3d4,0x00b3295b95a5a19a,0x00a65f97514bdfb5,0x00b39efba743cab1,0x0016ba98b862fd2d,0x0001508812ee71d7,0x000a75740eea114a)},
@@ -256,8 +256,8 @@ VECTOR_ALIGNED = {
{FIELD_LITERAL(0x004a2902926f8d3f,0x00ad79b42637ab75,0x0088f60b90f2d4e8,0x0030f54ef0e398c4,0x00021dc9bf99681e,0x007ebf66fde74ee3,0x004ade654386e9a4,0x00e7485066be4c27)},
{FIELD_LITERAL(0x00445f1263983be0,0x004cf371dda45e6a,0x00744a89d5a310e7,0x001f20ce4f904833,0x00e746edebe66e29,0x000912ab1f6c153d,0x00f61d77d9b2444c,0x0001499cd6647610)}
};
-const gf curve448_precomputed_wnaf_as_fe[96]
-VECTOR_ALIGNED = {
+extern const gf curve448_precomputed_wnaf_as_fe[];
+const gf curve448_precomputed_wnaf_as_fe[96] VECTOR_ALIGNED = {
{FIELD_LITERAL(0x00303cda6feea532,0x00860f1d5a3850e4,0x00226b9fa4728ccd,0x00e822938a0a0c0c,0x00263a61c9ea9216,0x001204029321b828,0x006a468360983c65,0x0002846f0a782143)},
{FIELD_LITERAL(0x00303cda6feea532,0x00860f1d5a3850e4,0x00226b9fa4728ccd,0x006822938a0a0c0c,0x00263a61c9ea9215,0x001204029321b828,0x006a468360983c65,0x0082846f0a782143)},
{FIELD_LITERAL(0x00ef8e22b275198d,0x00b0eb141a0b0e8b,0x001f6789da3cb38c,0x006d2ff8ed39073e,0x00610bdb69a167f3,0x00571f306c9689b4,0x00f557e6f84b2df8,0x002affd38b2c86db)},