Browse Source

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

tags/v0.0.1
Peter Schwabe 5 years ago
parent
commit
bf17b28d9d
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      crypto_sign/dilithium-iii/clean/Makefile
  2. +1
    -1
      crypto_sign/dilithium-iii/clean/poly.h

+ 3
- 3
crypto_sign/dilithium-iii/clean/Makefile View File

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

$(LIB): $(OBJECTS)
$(AR) -r $@ $(OBJECTS)
$(AR) -r $@ $(OBJECTS)

clean:
$(RM) $(OBJECTS)
$(RM) $(LIB)
$(RM) $(OBJECTS)
$(RM) $(LIB)

+ 1
- 1
crypto_sign/dilithium-iii/clean/poly.h View File

@@ -7,7 +7,7 @@

typedef struct {
uint32_t coeffs[N];
} poly __attribute__((aligned(32)));
} poly;

void PQCLEAN_DILITHIUMIII_poly_reduce(poly *a);
void PQCLEAN_DILITHIUMIII_poly_csubq(poly *a);


Loading…
Cancel
Save