pqc/crypto_kem/ntruhps2048509/avx2/poly_lift.c
2020-08-24 09:47:30 -04:00

12 lines
231 B
C

#include "poly.h"
void PQCLEAN_NTRUHPS2048509_AVX2_poly_lift(poly *r, const poly *a) {
int i;
for (i = 0; i < NTRU_N; i++) {
r->coeffs[i] = a->coeffs[i];
}
PQCLEAN_NTRUHPS2048509_AVX2_poly_Z3_to_Zq(r);
}