mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-26 17:31:38 +00:00
12 lines
231 B
C
12 lines
231 B
C
#include "poly.h"
|
|
|
|
void PQCLEAN_NTRUHPS4096821_AVX2_poly_lift(poly *r, const poly *a) {
|
|
int i;
|
|
for (i = 0; i < NTRU_N; i++) {
|
|
r->coeffs[i] = a->coeffs[i];
|
|
}
|
|
PQCLEAN_NTRUHPS4096821_AVX2_poly_Z3_to_Zq(r);
|
|
}
|
|
|
|
|