ec/ecp_nistz256_table.c: fix potential misalignment problem with Sun C.
authorAndy Polyakov <appro@openssl.org>
Wed, 9 Dec 2015 19:49:12 +0000 (20:49 +0100)
committerAndy 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

index 216d024e01203cbd68a39175d201d814d9456c48..2f0797db6b9b6634fe7d40dd6d1538f3cba5a6d8 100644 (file)
@@ -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) /