crypto: drbg - use pragmas for disabling optimization
authorStephan Mueller <smueller@chronox.de>
Tue, 9 Jun 2015 02:08:49 +0000 (04:08 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Jun 2015 14:26:00 +0000 (22:26 +0800)
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>
crypto/Makefile
crypto/jitterentropy.c

diff --cc crypto/Makefile
Simple merge
Simple merge