Add CFLAGS for aarch64/arm assembly files.
This commit is contained in:
parent
d55590888d
commit
604871c9df
@ -36,11 +36,16 @@ ASM_${MACHINE_CPUARCH}=
|
|||||||
.if defined(ASM_${MACHINE_CPUARCH})
|
.if defined(ASM_${MACHINE_CPUARCH})
|
||||||
CFLAGS+= -DOPENSSL_CPUID_OBJ
|
CFLAGS+= -DOPENSSL_CPUID_OBJ
|
||||||
.if defined(ASM_aarch64)
|
.if defined(ASM_aarch64)
|
||||||
|
CFLAGS+= -OPENSSL_BN_ASM_MONT
|
||||||
CFLAGS+= -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
|
CFLAGS+= -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
|
||||||
|
CFLAGS+= -DKECCAK1600_ASM
|
||||||
|
CFLAGS+= -DVPAES_ASM
|
||||||
|
CFLAGS+= -DECP_NISTZ256_ASM
|
||||||
|
CFLAGS+= -DPOLY1305_ASM
|
||||||
.elif defined(ASM_amd64)
|
.elif defined(ASM_amd64)
|
||||||
CFLAGS+= -DOPENSSL_IA32_SSE2
|
CFLAGS+= -DOPENSSL_IA32_SSE2
|
||||||
CFLAGS+= -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 \
|
CFLAGS+= -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
|
||||||
-DOPENSSL_BN_ASM_GF2m
|
CFLAGS+= -DOPENSSL_BN_ASM_GF2m
|
||||||
CFLAGS+= -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
|
CFLAGS+= -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
|
||||||
CFLAGS+= -DKECCAK1600_ASM
|
CFLAGS+= -DKECCAK1600_ASM
|
||||||
CFLAGS+= -DRC4_ASM
|
CFLAGS+= -DRC4_ASM
|
||||||
@ -50,6 +55,14 @@ CFLAGS+= -DGHASH_ASM
|
|||||||
CFLAGS+= -DECP_NISTZ256_ASM -DX25519_ASM
|
CFLAGS+= -DECP_NISTZ256_ASM -DX25519_ASM
|
||||||
CFLAGS+= -DPADLOCK_ASM
|
CFLAGS+= -DPADLOCK_ASM
|
||||||
CFLAGS+= -DPOLY1305_ASM
|
CFLAGS+= -DPOLY1305_ASM
|
||||||
|
.elif defined(ASM_arm)
|
||||||
|
CFLAGS+= -OPENSSL_BN_ASM_MONT -OPENSSL_BN_ASM_GF2m
|
||||||
|
CFLAGS+= -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
|
||||||
|
CFLAGS+= -DKECCAK1600_ASM
|
||||||
|
CFLAGS+= -DAES_ASM -DBSAES_ASM
|
||||||
|
CFLAGS+= -DGHASH_ASM
|
||||||
|
CFLAGS+= -DECP_NISTZ256_ASM
|
||||||
|
CFLAGS+= -DPOLY1305_ASM
|
||||||
.elif defined(ASM_i386)
|
.elif defined(ASM_i386)
|
||||||
CFLAGS+= -DOPENSSL_IA32_SSE2
|
CFLAGS+= -DOPENSSL_IA32_SSE2
|
||||||
CFLAGS+= -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT
|
CFLAGS+= -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT
|
||||||
|
Loading…
Reference in New Issue
Block a user