Skip to content

Commit 2445af9

Browse files
compile both fe_operations.c and low_mem version and rely on macro defines to choose which code gets compiled
1 parent b3031d2 commit 2445af9

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/include.am

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,9 +1298,7 @@ endif
12981298
endif !BUILD_FIPS_V6
12991299

13001300
if BUILD_FEMATH
1301-
if BUILD_CURVE25519_SMALL
13021301
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/fe_low_mem.c
1303-
else
13041302
if BUILD_CURVE25519_INTELASM
13051303
if !BUILD_X86_ASM
13061304
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/fe_x25519_asm.S
@@ -1356,13 +1354,10 @@ else
13561354
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/fe_operations.c
13571355
endif !BUILD_ARMASM
13581356
endif !BUILD_CURVE25519_INTELASM
1359-
endif !BUILD_CURVE25519_SMALL
13601357
endif BUILD_FEMATH
13611358

13621359
if BUILD_GEMATH
1363-
if BUILD_ED25519_SMALL
13641360
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/ge_low_mem.c
1365-
else
13661361
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/ge_operations.c
13671362
if !BUILD_FEMATH
13681363
if BUILD_CURVE25519_INTELASM
@@ -1401,7 +1396,6 @@ endif !BUILD_ARMASM
14011396
endif !BUILD_FIPS_V6
14021397
endif !BUILD_CURVE25519_INTELASM
14031398
endif !BUILD_FEMATH
1404-
endif !BUILD_ED25519_SMALL
14051399
endif BUILD_GEMATH
14061400

14071401
if !BUILD_FIPS_V6

0 commit comments

Comments
 (0)