Verified Commit d07cb5b4 authored by Sofia Celi's avatar Sofia Celi

Include neon #17

parent 1fb359d1
......@@ -60,11 +60,16 @@ AS_IF([test "x$ARCH_DIR" = "xarch_x86_64"], [needx64=yes],
AM_CONDITIONAL([X86], [test "x$needx64" = "xyes"])
AS_IF([test "x$ARCH_DIR" = "xarch_64"], [need64=yes],
[test "x$ARCH_DIR" != "xarch_64"], [need64=no])
AS_IF([test "x$ARCH_DIR" = "xarch_ref64"], [need64=yes],
[test "x$ARCH_DIR" != "xarch_ref64"], [need64=no])
AM_CONDITIONAL([ARCH_64], [test "x$need64" = "xyes"])
AS_IF([test "x$ARCH_DIR" = "xarch_neon"], [needneon=yes],
[test "x$ARCH_DIR" != "xarch_neon"], [needneon=no])
AM_CONDITIONAL([ARCH_NEON], [test "x$needneon" = "xyes"])
AS_IF([test "x$ARCH_DIR" = "xarch_arm_32"], [needarm32=yes],
[test "x$ARCH_DIR" != "xarch_arm_32"], [needarm32=no])
......
......@@ -10,6 +10,10 @@ if ARCH_64
goldilocks_gen_tables_SOURCES = utils.c goldilocks_gen_tables.c arch_ref64/f_impl.c f_arithmetic.c f_generic.c goldilocks.c scalar.c
endif
if ARCH_NEON
goldilocks_gen_tables_SOURCES = utils.c goldilocks_gen_tables.c arch_neon/f_impl.c f_arithmetic.c f_generic.c goldilocks.c scalar.c
endif
if ARCH_ARM_32
goldilocks_gen_tables_SOURCES = utils.c goldilocks_gen_tables.c arch_arm_32/f_impl.c f_arithmetic.c f_generic.c goldilocks.c scalar.c
endif
......@@ -35,6 +39,10 @@ if ARCH_64
libgoldilocks_la_SOURCES = utils.c shake.c spongerng.c arch_ref64/f_impl.c f_arithmetic.c f_generic.c goldilocks.c elligator.c scalar.c eddsa.c GEN/goldilocks_tables.c
endif
if ARCH_NEON
libgoldilocks_la_SOURCES = utils.c shake.c spongerng.c arch_neon/f_impl.c f_arithmetic.c f_generic.c goldilocks.c elligator.c scalar.c eddsa.c GEN/goldilocks_tables.c
endif
if ARCH_ARM_32
libgoldilocks_la_SOURCES = utils.c shake.c spongerng.c arch_arm_32/f_impl.c f_arithmetic.c f_generic.c goldilocks.c elligator.c scalar.c eddsa.c GEN/goldilocks_tables.c
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment