Browse Source

Include 'asm' in the name of X25519 asm sources.

Some build systems don't like two targets with the same base name and
the curve25519 code had x25519-x86_64.[Sc].

Change-Id: If8382eb84996d7e75b34b28def57829d93019cff
Reviewed-on: https://boringssl-review.googlesource.com/6878
Reviewed-by: Adam Langley <agl@google.com>
kris/onging/CECPQ3_patch15
Adam Langley 8 years ago
parent
commit
7b8b9c17db
4 changed files with 3 additions and 3 deletions
  1. +2
    -2
      crypto/curve25519/CMakeLists.txt
  2. +0
    -0
      crypto/curve25519/asm/x25519-asm-arm.S
  3. +0
    -0
      crypto/curve25519/asm/x25519-asm-x86_64.S
  4. +1
    -1
      util/generate_build_files.py

+ 2
- 2
crypto/curve25519/CMakeLists.txt View File

@@ -4,7 +4,7 @@ if (${ARCH} STREQUAL "arm")
set(
CURVE25519_ARCH_SOURCES

asm/x25519-arm.S
asm/x25519-asm-arm.S
)
endif()

@@ -12,7 +12,7 @@ if (${ARCH} STREQUAL "x86_64")
set(
CURVE25519_ARCH_SOURCES

asm/x25519-x86_64.S
asm/x25519-asm-x86_64.S
)
endif()



crypto/curve25519/asm/x25519-arm.S → crypto/curve25519/asm/x25519-asm-arm.S View File


crypto/curve25519/asm/x25519-x86_64.S → crypto/curve25519/asm/x25519-asm-x86_64.S View File


+ 1
- 1
util/generate_build_files.py View File

@@ -41,7 +41,7 @@ NON_PERL_FILES = {
('linux', 'arm'): [
'src/crypto/chacha/chacha_vec_arm.S',
'src/crypto/cpu-arm-asm.S',
'src/crypto/curve25519/asm/x25519-arm.S',
'src/crypto/curve25519/asm/x25519-asm-arm.S',
'src/crypto/poly1305/poly1305_arm_asm.S',
],
}


Loading…
Cancel
Save