View | Details | Raw Unified | Return to bug 225326 | Differences between
and this patch

Collapse All | Expand All

(-)security/nss/files/patch-lib-freebl-Makefile (+14 lines)
Lines 9-11 Link Here
9
 ifeq ($(CPU_ARCH),x86_64)
9
 ifeq ($(CPU_ARCH),x86_64)
10
     ASFILES  = arcfour-amd64-gas.s mpi_amd64_gas.s
10
     ASFILES  = arcfour-amd64-gas.s mpi_amd64_gas.s
11
     ASFLAGS += -march=opteron -m64 -fPIC -Wa,--noexecstack
11
     ASFLAGS += -march=opteron -m64 -fPIC -Wa,--noexecstack
12
@@ -527,7 +527,12 @@ ifndef NSS_DISABLE_CHACHAPOLY
13
             EXTRA_SRCS += chacha20_vec.c
14
         endif
15
     else
16
-        EXTRA_SRCS += poly1305.c
17
+        ifeq ($(CPU_ARCH),aarch64)
18
+            EXTRA_SRCS += Hacl_Poly1305_64.c
19
+        else
20
+            EXTRA_SRCS += poly1305.c
21
+        endif
22
+
23
         EXTRA_SRCS += chacha20.c
24
         VERIFIED_SRCS += Hacl_Chacha20.c
25
     endif # x86_64

Return to bug 225326