Rename fft_util* => fft_common*

This commit is contained in:
Ben Edgington 2021-02-04 06:28:27 +00:00
parent 10d5def069
commit 5905bbc631
6 changed files with 6 additions and 6 deletions

View File

@ -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 =

View File

@ -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;

View File

@ -16,7 +16,7 @@
#include "../inc/acutest.h"
#include "debug_util.h"
#include "fft_util.h"
#include "fft_common.h"
#define NUM_ROOTS 32

View File

@ -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);

View File

@ -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);