Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@chromium.org>2014-07-09 02:27:43 +0400
committerAdam Langley <agl@chromium.org>2014-07-09 02:27:43 +0400
commit23b460df0275d7b1543d3b5e0a33b1660a501ce9 (patch)
tree3f5f77a7454d0023982759f0ec0c7bd5a5e74487 /crypto/bn/rsaz_exp.c
parent35a7a4492ddc6082e1b0e71252f35701f8aa848a (diff)
Add #ifdefs so RSAZ is only built on x86-64.
Change-Id: I5ec6b59e75120029348ce71c76e49a2d6e010913
Diffstat (limited to 'crypto/bn/rsaz_exp.c')
-rw-r--r--crypto/bn/rsaz_exp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/bn/rsaz_exp.c b/crypto/bn/rsaz_exp.c
index 43bb3515..10376870 100644
--- a/crypto/bn/rsaz_exp.c
+++ b/crypto/bn/rsaz_exp.c
@@ -40,6 +40,10 @@
* (2) University of Haifa, Israel *
*****************************************************************************/
+#include <openssl/base.h>
+
+#if defined(OPENSSL_X86_64)
+
#include "rsaz_exp.h"
#include <openssl/mem.h>
@@ -318,3 +322,5 @@ void RSAZ_512_mod_exp(BN_ULONG result[8],
OPENSSL_cleanse(storage,sizeof(storage));
}
+
+#endif /* OPENSSL_X86_64 */