CROSSLD = powerpc64le-linux-gnu-ld
#compiler flags here
-CFLAGS = -DED25519_SVP64 -DED25519_TEST -g3 -O -Wall -I../../media/pypowersim_wrapper -I/usr/include/python3.7m
+CFLAGS = -DED25519_SVP64 -DED25519_TEST -DED25519_REFHASH -g3 -O -Wall -I../../media/pypowersim_wrapper -I/usr/include/python3.7m
# assembler flags here
ASFLAGS= -mlibresoc -mregnames -Isrc
#linker flags here
-LDFLAGS = -Wall -pthread -lpython3.7m -lssl -lcrypto
+LDFLAGS = -Wall -pthread -lpython3.7m
SRCDIR = src
BINDIR = bin
/* batch test */
-#ifndef ED25519_SVP64
#define test_batch_count 64
#define test_batch_rounds 96
-#else
-#define test_batch_count 1
-#define test_batch_rounds 1
-#endif
typedef enum batch_test_t {
batch_no_errors = 0,
int
main(void) {
+#ifndef ED25519_SVP64
test_main();
+#endif
test_batch();
return 0;
}