1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-12-04 13:24:04 +00:00
pqcrypto/crypto_kem/ntruhps2048677/avx2/poly_lift.c

12 lines
231 B
C
Raw Normal View History

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