Browse Source

reorganized dclxvi to be easier to work with (and make sure it compiles as expected; I was able to figure out how to compile it without resorting to the approach the BGN2 people had done with trying to use gcc-5 or anything

tristangurtler 1 year ago
parent
commit
ba9cded6d3
64 changed files with 116 additions and 63 deletions
  1. 2 2
      .gitignore
  2. 114 60
      third_party/dclxvi-20130329/Makefile
  3. 0 0
      third_party/dclxvi-20130329/inc/checkdouble.h
  4. 0 0
      third_party/dclxvi-20130329/inc/cpucycles.h
  5. 0 0
      third_party/dclxvi-20130329/inc/curvepoint_fp.h
  6. 0 0
      third_party/dclxvi-20130329/inc/curvepoint_fp_multiscalar.h
  7. 0 0
      third_party/dclxvi-20130329/inc/final_expo.h
  8. 0 0
      third_party/dclxvi-20130329/inc/fp12e.h
  9. 0 0
      third_party/dclxvi-20130329/inc/fp2e.h
  10. 0 0
      third_party/dclxvi-20130329/inc/fp6e.h
  11. 0 0
      third_party/dclxvi-20130329/inc/fpe.h
  12. 0 0
      third_party/dclxvi-20130329/inc/gmp_convert.h
  13. 0 0
      third_party/dclxvi-20130329/inc/index_heap.h
  14. 0 0
      third_party/dclxvi-20130329/inc/linefunction.h
  15. 0 0
      third_party/dclxvi-20130329/inc/mul.h
  16. 0 0
      third_party/dclxvi-20130329/inc/mydouble.h
  17. 0 0
      third_party/dclxvi-20130329/inc/optate.h
  18. 0 0
      third_party/dclxvi-20130329/inc/parameters.h
  19. 0 0
      third_party/dclxvi-20130329/inc/scalar.h
  20. 0 0
      third_party/dclxvi-20130329/inc/twistpoint_fp2.h
  21. 0 0
      third_party/dclxvi-20130329/inc/twistpoint_fp2_multiscalar.h
  22. 0 0
      third_party/dclxvi-20130329/src/bilintest.c
  23. 0 0
      third_party/dclxvi-20130329/src/consts.s
  24. 0 0
      third_party/dclxvi-20130329/src/cpucycles.c
  25. 0 1
      third_party/dclxvi-20130329/src/curvepoint_fp.c
  26. 0 0
      third_party/dclxvi-20130329/src/curvepoint_fp_multiscalar.c
  27. 0 0
      third_party/dclxvi-20130329/src/final_expo.c
  28. 0 0
      third_party/dclxvi-20130329/src/fp12e.c
  29. 0 0
      third_party/dclxvi-20130329/src/fp2e.c
  30. 0 0
      third_party/dclxvi-20130329/src/fp2e_add.s
  31. 0 0
      third_party/dclxvi-20130329/src/fp2e_add2.s
  32. 0 0
      third_party/dclxvi-20130329/src/fp2e_conjugate.s
  33. 0 0
      third_party/dclxvi-20130329/src/fp2e_double.s
  34. 0 0
      third_party/dclxvi-20130329/src/fp2e_double2.s
  35. 0 0
      third_party/dclxvi-20130329/src/fp2e_mul.s
  36. 0 0
      third_party/dclxvi-20130329/src/fp2e_mul_fpe.s
  37. 0 0
      third_party/dclxvi-20130329/src/fp2e_mulxi.s
  38. 0 0
      third_party/dclxvi-20130329/src/fp2e_neg.s
  39. 0 0
      third_party/dclxvi-20130329/src/fp2e_neg2.s
  40. 0 0
      third_party/dclxvi-20130329/src/fp2e_parallel_coeffmul.s
  41. 0 0
      third_party/dclxvi-20130329/src/fp2e_short_coeffred.s
  42. 0 0
      third_party/dclxvi-20130329/src/fp2e_square.s
  43. 0 0
      third_party/dclxvi-20130329/src/fp2e_sub.s
  44. 0 0
      third_party/dclxvi-20130329/src/fp2e_sub2.s
  45. 0 0
      third_party/dclxvi-20130329/src/fp2e_triple.s
  46. 0 0
      third_party/dclxvi-20130329/src/fp2e_triple2.s
  47. 0 0
      third_party/dclxvi-20130329/src/fp6e.c
  48. 0 0
      third_party/dclxvi-20130329/src/fpe.c
  49. 0 0
      third_party/dclxvi-20130329/src/fpe_mul.s
  50. 0 0
      third_party/dclxvi-20130329/src/gmp_convert.c
  51. 0 0
      third_party/dclxvi-20130329/src/heap_rootreplaced.s
  52. 0 0
      third_party/dclxvi-20130329/src/index_heap.c
  53. 0 0
      third_party/dclxvi-20130329/src/linefunction.c
  54. 0 0
      third_party/dclxvi-20130329/src/mul.c
  55. 0 0
      third_party/dclxvi-20130329/src/mydouble.c
  56. 0 0
      third_party/dclxvi-20130329/src/optate.c
  57. 0 0
      third_party/dclxvi-20130329/src/parameters.c
  58. 0 0
      third_party/dclxvi-20130329/src/scalar.c
  59. 0 0
      third_party/dclxvi-20130329/src/scalar_sub_nored.s
  60. 0 0
      third_party/dclxvi-20130329/src/speedtest.c
  61. 0 0
      third_party/dclxvi-20130329/src/test_curvepoint_multiscalar.c
  62. 0 0
      third_party/dclxvi-20130329/src/test_twistpoint_multiscalar.c
  63. 0 0
      third_party/dclxvi-20130329/src/twistpoint_fp2.c
  64. 0 0
      third_party/dclxvi-20130329/src/twistpoint_fp2_multiscalar.c

+ 2 - 2
.gitignore

@@ -1,2 +1,2 @@
-bgn2/bin/
-bgn2/obj/
+**/bin/
+**/obj/

+ 114 - 60
third_party/dclxvi-20130329/Makefile

@@ -1,87 +1,141 @@
-CPP=g++
-CPPFLAGS=-g -Wall -DCHECK
+INC_PATH = inc
+SRC_PATH = src
+OBJ_PATH = obj
+BIN_PATH = bin
 
-CC=gcc
-CFLAGS=-std=c99 -O3 -fomit-frame-pointer
-LFLAGS=-lm
+CPP = g++
+CPPFLAGS = -g -Wall -DCHECK -I$(INC_PATH)
+
+CC = gcc
+CFLAGS = -std=c99 -O3 -fomit-frame-pointer -I$(INC_PATH)
+LDFLAGS = -lm
 
 all: as check c
 
-c: bilintest-c \
-	 speedtest-c
+C_BIN += $(BIN_PATH)/bilintest-c
+C_BIN += $(BIN_PATH)/speedtest-c
+
+c: $(C_BIN)
+
+AS_BIN += $(BIN_PATH)/bilintest-as
+AS_BIN += $(BIN_PATH)/speedtest-as
+AS_BIN += $(BIN_PATH)/test_curvepoint_multiscalar-as
+AS_BIN += $(BIN_PATH)/test_twistpoint_multiscalar-as
+
+as: $(AS_BIN)
+
+CHECK_BIN += $(BIN_PATH)/bilintest-check
+CHECK_BIN += $(BIN_PATH)/speedtest-check
+CHECK_BIN += $(BIN_PATH)/test_curvepoint_multiscalar-check
+CHECK_BIN += $(BIN_PATH)/test_twistpoint_multiscalar-check
+
+check: $(CHECK_BIN)
+
+COMMON_OBJ += $(OBJ_PATH)/linefunction_c.o
+COMMON_OBJ += $(OBJ_PATH)/optate_c.o
+COMMON_OBJ += $(OBJ_PATH)/fpe_c.o
+COMMON_OBJ += $(OBJ_PATH)/fp2e_c.o
+COMMON_OBJ += $(OBJ_PATH)/fp6e_c.o
+COMMON_OBJ += $(OBJ_PATH)/fp12e_c.o
+COMMON_OBJ += $(OBJ_PATH)/curvepoint_fp_c.o
+COMMON_OBJ += $(OBJ_PATH)/twistpoint_fp2_c.o
+COMMON_OBJ += $(OBJ_PATH)/final_expo_c.o
+COMMON_OBJ += $(OBJ_PATH)/scalar_c.o
+COMMON_OBJ += $(OBJ_PATH)/parameters_c.o
+COMMON_OBJ += $(OBJ_PATH)/mul_c.o
+COMMON_OBJ += $(OBJ_PATH)/mydouble_c.o
 
-as: bilintest-as \
-		speedtest-as \
-		test_curvepoint_multiscalar-as \
-		test_twistpoint_multiscalar-as
+COMMON_AS_OBJ += $(patsubst %_c.o, %_c_with_as.o, $(COMMON_OBJ))
 
-check: bilintest-check \
-	     speedtest-check \
-			 test_curvepoint_multiscalar-check \
-			 test_twistpoint_multiscalar-check
+CHECK_SRC += $(patsubst $(OBJ_PATH)/%_c.o, $(SRC_PATH)/%.c, $(COMMON_OBJ))
 
-bilintest-check: bilintest.c linefunction.c optate.c fpe.c fp2e.c fp6e.c fp12e.c curvepoint_fp.c twistpoint_fp2.c final_expo.c scalar.c parameters.c mul.c mydouble.c
+$(BIN_PATH)/bilintest-check: $(SRC_PATH)/bilintest.c $(CHECK_SRC)
 	$(CPP) $(CPPFLAGS) -DNTESTS=20 -o $@ $^
 
-bilintest-c: bilintest.c linefunction.c optate.c fpe.c fp2e.c fp6e.c fp12e.c curvepoint_fp.c twistpoint_fp2.c final_expo.c scalar.c parameters.c mul.c mydouble.c
-	$(CC) $(CFLAGS) $(LFLAGS) -DNTESTS=1000 -o $@ $^
+$(BIN_PATH)/bilintest-c: $(SRC_PATH)/bilintest.c $(COMMON_OBJ)
+	$(CC) $(CFLAGS) -DNTESTS=1000 -o $@ $^ $(LDFLAGS)
 
-bilintest-as: bilintest.c linefunction.c optate.c fpe.c fp2e.c fp6e.c fp12e.c curvepoint_fp.c twistpoint_fp2.c final_expo.c scalar.c parameters.c mul.c mydouble.c asfunctions.a
-	$(CC) $(CFLAGS) $(LFLAGS) -DQHASM -DNTESTS=1000000 -o $@ $^
+$(BIN_PATH)/bilintest-as: $(SRC_PATH)/bilintest.c $(COMMON_AS_OBJ) $(OBJ_PATH)/asfunctions.a
+	$(CC) $(CFLAGS) -no-pie -DQHASM -DNTESTS=1000000 -o $@ $^ $(LDFLAGS)
 
-speedtest-check: speedtest.c linefunction.c optate.c fpe.c fp2e.c fp6e.c fp12e.c curvepoint_fp.c twistpoint_fp2.c final_expo.c scalar.c parameters.c mul.c mydouble.c
+$(BIN_PATH)/speedtest-check: $(SRC_PATH)/speedtest.c $(CHECK_SRC)
 	$(CPP) $(CPPFLAGS) -o $@ $^
 
-speedtest-c: speedtest.c linefunction.c optate.c fpe.c fp2e.c fp6e.c fp12e.c curvepoint_fp.c twistpoint_fp2.c final_expo.c scalar.c parameters.c mul.c mydouble.c
-	$(CC) $(CFLAGS) $(LFLAGS) -o $@ $^
+$(BIN_PATH)/speedtest-c: $(SRC_PATH)/speedtest.c $(COMMON_OBJ)
+	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
 
-speedtest-as: speedtest.c linefunction.c optate.c fpe.c fp2e.c fp6e.c fp12e.c curvepoint_fp.c twistpoint_fp2.c final_expo.c scalar.c parameters.c mul.c mydouble.c asfunctions.a
-	$(CC) $(CFLAGS) $(LFLAGS) -DQHASM -o $@ $^
+$(BIN_PATH)/speedtest-as: $(SRC_PATH)/speedtest.c $(COMMON_AS_OBJ) $(OBJ_PATH)/asfunctions.a
+	$(CC) $(CFLAGS) -no-pie -DQHASM -o $@ $^ $(LDFLAGS)
 
-test_curvepoint_multiscalar-check: test_curvepoint_multiscalar.c fpe.c scalar.c parameters.c curvepoint_fp.c mul.c mydouble.c \
-																		curvepoint_fp_multiscalar.c heap_rootreplaced.s index_heap.c scalar_sub_nored.s \
-																		asfunctions.a
-	$(CPP) $(CPPFLAGS) -o $@ $^
+TEST_SRC += $(SRC_PATH)/fpe.c
+TEST_SRC += $(SRC_PATH)/scalar.c
+TEST_SRC += $(SRC_PATH)/parameters.c
+TEST_SRC += $(SRC_PATH)/mul.c
+TEST_SRC += $(SRC_PATH)/mydouble.c
+TEST_SRC += $(SRC_PATH)/heap_rootreplaced.s
+TEST_SRC += $(SRC_PATH)/index_heap.c
+TEST_SRC += $(SRC_PATH)/scalar_sub_nored.s
+
+CURVE_TEST_SRC += $(TEST_SRC)
+CURVE_TEST_SRC += $(SRC_PATH)/curvepoint_fp.c
+CURVE_TEST_SRC += $(SRC_PATH)/curvepoint_fp_multiscalar.c
+
+CURVE_TEST_AS_OBJ += $(patsubst $(SRC_PATH)/%.s, $(OBJ_PATH)/%_as.o, $(patsubst $(SRC_PATH)/%.c, $(OBJ_PATH)/%_c_with_as.o, $(CURVE_TEST_SRC)))
 
-test_curvepoint_multiscalar-as: test_curvepoint_multiscalar.c fpe.c scalar.c parameters.c curvepoint_fp.c mul.c mydouble.c \
-																curvepoint_fp_multiscalar.c heap_rootreplaced.s index_heap.c scalar_sub_nored.s \
-																asfunctions.a
-	$(CC) $(CFLAGS) $(LFLAGS) -DQHASM -o $@ $^
+TWIST_TEST_SRC += $(TEST_SRC)
+TWIST_TEST_SRC += $(SRC_PATH)/fp2e.c
+TWIST_TEST_SRC += $(SRC_PATH)/twistpoint_fp2.c
+TWIST_TEST_SRC += $(SRC_PATH)/twistpoint_fp2_multiscalar.c
 
-test_twistpoint_multiscalar-check: test_twistpoint_multiscalar.c fpe.c fp2e.c scalar.c parameters.c twistpoint_fp2.c mul.c mydouble.c \
-																	twistpoint_fp2_multiscalar.c heap_rootreplaced.s index_heap.c scalar_sub_nored.s \
-																	asfunctions.a
+TWIST_TEST_AS_OBJ += $(patsubst $(SRC_PATH)/%.s, $(OBJ_PATH)/%_as.o, $(patsubst $(SRC_PATH)/%.c, $(OBJ_PATH)/%_c_with_as.o, $(TWIST_TEST_SRC)))
+
+$(BIN_PATH)/test_curvepoint_multiscalar-check: $(SRC_PATH)/test_curvepoint_multiscalar.c $(CURVE_TEST_SRC) $(OBJ_PATH)/asfunctions.a
 	$(CPP) $(CPPFLAGS) -o $@ $^
 
-test_twistpoint_multiscalar-as: test_twistpoint_multiscalar.c fpe.c fp2e.c scalar.c parameters.c twistpoint_fp2.c mul.c mydouble.c \
-																	twistpoint_fp2_multiscalar.c heap_rootreplaced.s index_heap.c scalar_sub_nored.s \
-																	asfunctions.a
-	$(CC) $(CFLAGS) $(LFLAGS) -DQHASM -o $@ $^
+$(BIN_PATH)/test_curvepoint_multiscalar-as: $(SRC_PATH)/test_curvepoint_multiscalar.c $(CURVE_TEST_AS_OBJ) $(OBJ_PATH)/asfunctions.a
+	$(CC) $(CFLAGS) -no-pie -DQHASM -o $@ $^ $(LDFLAGS)
 
+$(BIN_PATH)/test_twistpoint_multiscalar-check: $(SRC_PATH)/test_twistpoint_multiscalar.c $(TWIST_TEST_SRC) $(OBJ_PATH)/asfunctions.a
+	$(CPP) $(CPPFLAGS) -o $@ $^
 
-%.o: %.s
+$(BIN_PATH)/test_twistpoint_multiscalar-as: $(SRC_PATH)/test_twistpoint_multiscalar.c $(TWIST_TEST_AS_OBJ) $(OBJ_PATH)/asfunctions.a
+	$(CC) $(CFLAGS) -no-pie -DQHASM -o $@ $^ $(LDFLAGS)
+
+AS_OBJ += $(OBJ_PATH)/fp2e_add2_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_sub2_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_double2_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_triple2_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_neg2_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_mul_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_mul_fpe_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_short_coeffred_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_add_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_sub_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_parallel_coeffmul_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_mulxi_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_double_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_triple_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_neg_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_conjugate_as.o
+AS_OBJ += $(OBJ_PATH)/fpe_mul_as.o
+AS_OBJ += $(OBJ_PATH)/fp2e_square_as.o
+AS_OBJ += $(OBJ_PATH)/consts_as.o
+
+$(OBJ_PATH)/asfunctions.a: $(AS_OBJ)
+	rm -f $@
+	ar cr $@ $^
+
+$(OBJ_PATH)/%_c.o: $(SRC_PATH)/%.c
 	$(CC) $(CFLAGS) -c -o $@ $^
 
-asfunctions.a: fp2e_add2.o fp2e_sub2.o \
-	fp2e_double2.o fp2e_triple2.o fp2e_neg2.o \
-	fp2e_mul.o fp2e_mul_fpe.o fp2e_short_coeffred.o \
-	fp2e_add.o fp2e_sub.o fp2e_parallel_coeffmul.o fp2e_mulxi.o\
-	fp2e_double.o fp2e_triple.o fp2e_neg.o fp2e_conjugate.o \
-	fpe_mul.o fp2e_square.o \
-	consts.o
-	rm -f asfunctions.a
-	ar cr asfunctions.a $^
+$(OBJ_PATH)/%_c_with_as.o: $(SRC_PATH)/%.c
+	$(CC) $(CFLAGS) -DQHASM -c -o $@ $^
+
+$(OBJ_PATH)/%_as.o: $(SRC_PATH)/%.s
+	$(CC) $(CFLAGS) -fPIC -c -o $@ $^
 
 .PHONY: clean
 
 clean:
-	-rm bilintest-check 
-	-rm speedtest-check 
-	-rm bilintest-c
-	-rm speedtest-c
-	-rm bilintest-as 
-	-rm speedtest-as 
-	-rm test_curvepoint_multiscalar-as
-	-rm test_curvepoint_multiscalar-check
-	-rm *.o
-	-rm asfunctions.a
+	-rm bin/*
+	-rm obj/*

+ 0 - 0
third_party/dclxvi-20130329/checkdouble.h → third_party/dclxvi-20130329/inc/checkdouble.h


+ 0 - 0
third_party/dclxvi-20130329/cpucycles.h → third_party/dclxvi-20130329/inc/cpucycles.h


+ 0 - 0
third_party/dclxvi-20130329/curvepoint_fp.h → third_party/dclxvi-20130329/inc/curvepoint_fp.h


+ 0 - 0
third_party/dclxvi-20130329/curvepoint_fp_multiscalar.h → third_party/dclxvi-20130329/inc/curvepoint_fp_multiscalar.h


+ 0 - 0
third_party/dclxvi-20130329/final_expo.h → third_party/dclxvi-20130329/inc/final_expo.h


+ 0 - 0
third_party/dclxvi-20130329/fp12e.h → third_party/dclxvi-20130329/inc/fp12e.h


+ 0 - 0
third_party/dclxvi-20130329/fp2e.h → third_party/dclxvi-20130329/inc/fp2e.h


+ 0 - 0
third_party/dclxvi-20130329/fp6e.h → third_party/dclxvi-20130329/inc/fp6e.h


+ 0 - 0
third_party/dclxvi-20130329/fpe.h → third_party/dclxvi-20130329/inc/fpe.h


+ 0 - 0
third_party/dclxvi-20130329/gmp_convert.h → third_party/dclxvi-20130329/inc/gmp_convert.h


+ 0 - 0
third_party/dclxvi-20130329/index_heap.h → third_party/dclxvi-20130329/inc/index_heap.h


+ 0 - 0
third_party/dclxvi-20130329/linefunction.h → third_party/dclxvi-20130329/inc/linefunction.h


+ 0 - 0
third_party/dclxvi-20130329/mul.h → third_party/dclxvi-20130329/inc/mul.h


+ 0 - 0
third_party/dclxvi-20130329/mydouble.h → third_party/dclxvi-20130329/inc/mydouble.h


+ 0 - 0
third_party/dclxvi-20130329/optate.h → third_party/dclxvi-20130329/inc/optate.h


+ 0 - 0
third_party/dclxvi-20130329/parameters.h → third_party/dclxvi-20130329/inc/parameters.h


+ 0 - 0
third_party/dclxvi-20130329/scalar.h → third_party/dclxvi-20130329/inc/scalar.h


+ 0 - 0
third_party/dclxvi-20130329/twistpoint_fp2.h → third_party/dclxvi-20130329/inc/twistpoint_fp2.h


+ 0 - 0
third_party/dclxvi-20130329/twistpoint_fp2_multiscalar.h → third_party/dclxvi-20130329/inc/twistpoint_fp2_multiscalar.h


+ 0 - 0
third_party/dclxvi-20130329/bilintest.c → third_party/dclxvi-20130329/src/bilintest.c


+ 0 - 0
third_party/dclxvi-20130329/consts.s → third_party/dclxvi-20130329/src/consts.s


+ 0 - 0
third_party/dclxvi-20130329/cpucycles.c → third_party/dclxvi-20130329/src/cpucycles.c


+ 0 - 1
third_party/dclxvi-20130329/curvepoint_fp.c → third_party/dclxvi-20130329/src/curvepoint_fp.c

@@ -321,7 +321,6 @@ void curvepoint_fp_scalarmult_vartime(curvepoint_fp_t rop, const curvepoint_fp_t
 // Negate a point, store in rop:
 void curvepoint_fp_neg(curvepoint_fp_t rop, const curvepoint_fp_t op)
 {
-  fpe_t tfpe1;
 	fpe_set(rop->m_x, op->m_x);
 	fpe_neg(rop->m_y, op->m_y);
 	fpe_set(rop->m_z, op->m_z);

+ 0 - 0
third_party/dclxvi-20130329/curvepoint_fp_multiscalar.c → third_party/dclxvi-20130329/src/curvepoint_fp_multiscalar.c


+ 0 - 0
third_party/dclxvi-20130329/final_expo.c → third_party/dclxvi-20130329/src/final_expo.c


+ 0 - 0
third_party/dclxvi-20130329/fp12e.c → third_party/dclxvi-20130329/src/fp12e.c


+ 0 - 0
third_party/dclxvi-20130329/fp2e.c → third_party/dclxvi-20130329/src/fp2e.c


+ 0 - 0
third_party/dclxvi-20130329/fp2e_add.s → third_party/dclxvi-20130329/src/fp2e_add.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_add2.s → third_party/dclxvi-20130329/src/fp2e_add2.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_conjugate.s → third_party/dclxvi-20130329/src/fp2e_conjugate.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_double.s → third_party/dclxvi-20130329/src/fp2e_double.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_double2.s → third_party/dclxvi-20130329/src/fp2e_double2.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_mul.s → third_party/dclxvi-20130329/src/fp2e_mul.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_mul_fpe.s → third_party/dclxvi-20130329/src/fp2e_mul_fpe.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_mulxi.s → third_party/dclxvi-20130329/src/fp2e_mulxi.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_neg.s → third_party/dclxvi-20130329/src/fp2e_neg.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_neg2.s → third_party/dclxvi-20130329/src/fp2e_neg2.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_parallel_coeffmul.s → third_party/dclxvi-20130329/src/fp2e_parallel_coeffmul.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_short_coeffred.s → third_party/dclxvi-20130329/src/fp2e_short_coeffred.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_square.s → third_party/dclxvi-20130329/src/fp2e_square.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_sub.s → third_party/dclxvi-20130329/src/fp2e_sub.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_sub2.s → third_party/dclxvi-20130329/src/fp2e_sub2.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_triple.s → third_party/dclxvi-20130329/src/fp2e_triple.s


+ 0 - 0
third_party/dclxvi-20130329/fp2e_triple2.s → third_party/dclxvi-20130329/src/fp2e_triple2.s


+ 0 - 0
third_party/dclxvi-20130329/fp6e.c → third_party/dclxvi-20130329/src/fp6e.c


+ 0 - 0
third_party/dclxvi-20130329/fpe.c → third_party/dclxvi-20130329/src/fpe.c


+ 0 - 0
third_party/dclxvi-20130329/fpe_mul.s → third_party/dclxvi-20130329/src/fpe_mul.s


+ 0 - 0
third_party/dclxvi-20130329/gmp_convert.c → third_party/dclxvi-20130329/src/gmp_convert.c


+ 0 - 0
third_party/dclxvi-20130329/heap_rootreplaced.s → third_party/dclxvi-20130329/src/heap_rootreplaced.s


+ 0 - 0
third_party/dclxvi-20130329/index_heap.c → third_party/dclxvi-20130329/src/index_heap.c


+ 0 - 0
third_party/dclxvi-20130329/linefunction.c → third_party/dclxvi-20130329/src/linefunction.c


+ 0 - 0
third_party/dclxvi-20130329/mul.c → third_party/dclxvi-20130329/src/mul.c


+ 0 - 0
third_party/dclxvi-20130329/mydouble.c → third_party/dclxvi-20130329/src/mydouble.c


+ 0 - 0
third_party/dclxvi-20130329/optate.c → third_party/dclxvi-20130329/src/optate.c


+ 0 - 0
third_party/dclxvi-20130329/parameters.c → third_party/dclxvi-20130329/src/parameters.c


+ 0 - 0
third_party/dclxvi-20130329/scalar.c → third_party/dclxvi-20130329/src/scalar.c


+ 0 - 0
third_party/dclxvi-20130329/scalar_sub_nored.s → third_party/dclxvi-20130329/src/scalar_sub_nored.s


+ 0 - 0
third_party/dclxvi-20130329/speedtest.c → third_party/dclxvi-20130329/src/speedtest.c


+ 0 - 0
third_party/dclxvi-20130329/test_curvepoint_multiscalar.c → third_party/dclxvi-20130329/src/test_curvepoint_multiscalar.c


+ 0 - 0
third_party/dclxvi-20130329/test_twistpoint_multiscalar.c → third_party/dclxvi-20130329/src/test_twistpoint_multiscalar.c


+ 0 - 0
third_party/dclxvi-20130329/twistpoint_fp2.c → third_party/dclxvi-20130329/src/twistpoint_fp2.c


+ 0 - 0
third_party/dclxvi-20130329/twistpoint_fp2_multiscalar.c → third_party/dclxvi-20130329/src/twistpoint_fp2_multiscalar.c