From 5905bbc6317c754c5196c024de48346b70ebe69d Mon Sep 17 00:00:00 2001 From: Ben Edgington Date: Thu, 4 Feb 2021 06:28:27 +0000 Subject: [PATCH] Rename fft_util* => fft_common* --- src/Makefile | 4 ++-- src/{fft_util.c => fft_common.c} | 2 +- src/{fft_util.h => fft_common.h} | 0 src/{fft_util_test.c => fft_common_test.c} | 2 +- src/fft_fr.h | 2 +- src/fft_g1.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename src/{fft_util.c => fft_common.c} (98%) rename src/{fft_util.h => fft_common.h} (100%) rename src/{fft_util_test.c => fft_common_test.c} (99%) diff --git a/src/Makefile b/src/Makefile index 695b0bc..bde9b84 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ -TESTS = blst_util_test fft_util_test fft_fr_test fft_g1_test -LIB_SRC = blst_util.c fft_util.c fft_fr.c fft_g1.c +TESTS = blst_util_test fft_common_test fft_fr_test fft_g1_test +LIB_SRC = blst_util.c fft_common.c fft_fr.c fft_g1.c LIB_OBJ = $(LIB_SRC:.c=.o) CFLAGS = diff --git a/src/fft_util.c b/src/fft_common.c similarity index 98% rename from src/fft_util.c rename to src/fft_common.c index c3961e1..5a06454 100644 --- a/src/fft_util.c +++ b/src/fft_common.c @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "fft_util.h" +#include "fft_common.h" bool is_power_of_two(uint64_t n) { return (n & (n - 1)) == 0; diff --git a/src/fft_util.h b/src/fft_common.h similarity index 100% rename from src/fft_util.h rename to src/fft_common.h diff --git a/src/fft_util_test.c b/src/fft_common_test.c similarity index 99% rename from src/fft_util_test.c rename to src/fft_common_test.c index ea7776a..df21bbb 100644 --- a/src/fft_util_test.c +++ b/src/fft_common_test.c @@ -16,7 +16,7 @@ #include "../inc/acutest.h" #include "debug_util.h" -#include "fft_util.h" +#include "fft_common.h" #define NUM_ROOTS 32 diff --git a/src/fft_fr.h b/src/fft_fr.h index 292729f..a1d34f0 100644 --- a/src/fft_fr.h +++ b/src/fft_fr.h @@ -15,7 +15,7 @@ */ #include "c_kzg.h" -#include "fft_util.h" +#include "fft_common.h" void fft_fr_slow(blst_fr *out, blst_fr *in, uint64_t stride, blst_fr *roots, uint64_t roots_stride, uint64_t l); void fft_fr_fast(blst_fr *out, blst_fr *in, uint64_t stride, blst_fr *roots, uint64_t roots_stride, uint64_t l); diff --git a/src/fft_g1.h b/src/fft_g1.h index 5419305..60ee3c6 100644 --- a/src/fft_g1.h +++ b/src/fft_g1.h @@ -15,7 +15,7 @@ */ #include "c_kzg.h" -#include "fft_util.h" +#include "fft_common.h" void fft_g1_slow(blst_p1 *out, blst_p1 *in, uint64_t stride, blst_fr *roots, uint64_t roots_stride, uint64_t l); void fft_g1_fast(blst_p1 *out, blst_p1 *in, uint64_t stride, blst_fr *roots, uint64_t roots_stride, uint64_t l);