Skip to content

Commit

Permalink
Take BoringSSL f8e9dca: iOS builds use the static ARM CPU configuration.
Browse files Browse the repository at this point in the history
I filed #47 about re-enabling the assembly language optimizations on
iOS in *ring*.
  • Loading branch information
briansmith committed Oct 29, 2015
2 parents 2feaf8e + f8e9dca commit 71e0032
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/openssl/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ extern uint32_t OPENSSL_ia32cap_P[4];

#if defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)

#if defined(OPENSSL_APPLE)
/* iOS builds use the static ARM configuration. */
#define OPENSSL_STATIC_ARMCAP
#endif

#if !defined(OPENSSL_STATIC_ARMCAP)

/* CRYPTO_is_NEON_capable returns true if the current CPU has a NEON unit. Note
Expand Down

0 comments on commit 71e0032

Please sign in to comment.