Fixed tabs in Makefile, removed gcc-specific alignment of poly

This commit is contained in:
Peter Schwabe 2019-02-11 08:26:26 +01:00
parent 3203f115e5
commit bf17b28d9d
2 changed files with 4 additions and 4 deletions

View File

@ -8,8 +8,8 @@ CFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c99 -I../../../common $(EXTRAFLAGS)
all: $(LIB) all: $(LIB)
$(LIB): $(OBJECTS) $(LIB): $(OBJECTS)
$(AR) -r $@ $(OBJECTS) $(AR) -r $@ $(OBJECTS)
clean: clean:
$(RM) $(OBJECTS) $(RM) $(OBJECTS)
$(RM) $(LIB) $(RM) $(LIB)

View File

@ -7,7 +7,7 @@
typedef struct { typedef struct {
uint32_t coeffs[N]; uint32_t coeffs[N];
} poly __attribute__((aligned(32))); } poly;
void PQCLEAN_DILITHIUMIII_poly_reduce(poly *a); void PQCLEAN_DILITHIUMIII_poly_reduce(poly *a);
void PQCLEAN_DILITHIUMIII_poly_csubq(poly *a); void PQCLEAN_DILITHIUMIII_poly_csubq(poly *a);