diff options
author | Stephan Mueller <smueller@chronox.de> | 2015-06-08 22:08:49 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-09 10:26:00 -0400 |
commit | fbb145bc0a1c03b90a96cca99dc07c33aaad2318 (patch) | |
tree | 27e29447feac622abe0553ab12e695d94b0f48f6 /crypto/Makefile | |
parent | 70c3c8a96a85d333b3ff1f24df84c0e179261a8a (diff) |
crypto: drbg - use pragmas for disabling optimization
Replace the global -O0 compiler flag from the Makefile with GCC
pragmas to mark only the functions required to be compiled without
optimizations.
This patch also adds a comment describing the rationale for the
functions chosen to be compiled without optimizations.
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index 83b3c4496ec7..c84203572477 100644 --- a/crypto/Makefile +++ b/crypto/Makefile | |||
@@ -97,7 +97,6 @@ obj-$(CONFIG_CRYPTO_842) += 842.o | |||
97 | obj-$(CONFIG_CRYPTO_RNG2) += rng.o | 97 | obj-$(CONFIG_CRYPTO_RNG2) += rng.o |
98 | obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o | 98 | obj-$(CONFIG_CRYPTO_ANSI_CPRNG) += ansi_cprng.o |
99 | obj-$(CONFIG_CRYPTO_DRBG) += drbg.o | 99 | obj-$(CONFIG_CRYPTO_DRBG) += drbg.o |
100 | CFLAGS_jitterentropy.o = -O0 | ||
101 | obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitterentropy.o | 100 | obj-$(CONFIG_CRYPTO_JITTERENTROPY) += jitterentropy.o |
102 | obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o | 101 | obj-$(CONFIG_CRYPTO_TEST) += tcrypt.o |
103 | obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o | 102 | obj-$(CONFIG_CRYPTO_GHASH) += ghash-generic.o |