We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c6b19 commit 4af4401Copy full SHA for 4af4401
SpritzCipher.cpp
@@ -78,9 +78,11 @@ whip(spritz_ctx *ctx)
78
79
#if defined(SAFE_TIMING_CRUSH)
80
static void
81
-# if defined(__GNUC__) && !defined(__clang__) /* SAFE_TIMING_CRUSH and GCC */
+/* SAFE_TIMING_CRUSH and GCC: disable optimization for crush() */
82
+# if defined(__GNUC__) && !defined(__clang__)
83
__attribute__ ((optimize("O0")))
-# elif defined(__clang__) /* SAFE_TIMING_CRUSH and Clang */
84
+/* SAFE_TIMING_CRUSH and Clang: disable optimization for crush() */
85
+# elif defined(__clang__)
86
__attribute__ ((optnone))
87
# endif
88
crush(spritz_ctx *ctx)
0 commit comments