projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5005396
)
ec/ecp_nistz256_table.c: fix potential misalignment problem with Sun C.
author
Andy Polyakov
<appro@openssl.org>
Wed, 9 Dec 2015 19:49:12 +0000
(20:49 +0100)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 10 Dec 2015 19:13:28 +0000
(20:13 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/ec/ecp_nistz256_table.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ecp_nistz256_table.c
b/crypto/ec/ecp_nistz256_table.c
index 216d024e01203cbd68a39175d201d814d9456c48..2f0797db6b9b6634fe7d40dd6d1538f3cba5a6d8 100644
(file)
--- a/
crypto/ec/ecp_nistz256_table.c
+++ b/
crypto/ec/ecp_nistz256_table.c
@@
-17,7
+17,7
@@
__attribute((aligned(4096)))
#elif defined(_MSC_VER)
__declspec(align(4096))
#elif defined(__SUNPRO_C)
-# pragma align
4096
(ecp_nistz256_precomputed)
+# pragma align
64
(ecp_nistz256_precomputed)
#endif
static const BN_ULONG ecp_nistz256_precomputed[37][64 *
sizeof(P256_POINT_AFFINE) /