2020-08-15 19:26:25 +01:00
|
|
|
#include "poly.h"
|
|
|
|
|
|
|
|
void PQCLEAN_NTRUHPS2048509_CLEAN_poly_lift(poly *r, const poly *a) {
|
|
|
|
int i;
|
|
|
|
for (i = 0; i < NTRU_N; i++) {
|
|
|
|
r->coeffs[i] = a->coeffs[i];
|
|
|
|
}
|
|
|
|
PQCLEAN_NTRUHPS2048509_CLEAN_poly_Z3_to_Zq(r);
|
|
|
|
}
|
|
|
|
|
2020-08-24 13:58:55 +01:00
|
|
|
|