mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 16:08:59 +00:00
0d7743d576
* Update NTRU version: https://github.com/jschanck/ntru/tree/485dde03 * Fixed ntruhrss701/clean/Makefile.Microsoft_nmake
11 lines
232 B
C
11 lines
232 B
C
#include "poly.h"
|
|
|
|
void PQCLEAN_NTRUHPS4096821_CLEAN_poly_lift(poly *r, const poly *a) {
|
|
int i;
|
|
for (i = 0; i < NTRU_N; i++) {
|
|
r->coeffs[i] = a->coeffs[i];
|
|
}
|
|
PQCLEAN_NTRUHPS4096821_CLEAN_poly_Z3_to_Zq(r);
|
|
}
|
|
|