KEYGEN: fix missing initialisation
This commit is contained in:
parent
c3eb0e52f4
commit
aa01859192
@ -77,6 +77,7 @@ bool ntru_create_keypair(
|
||||
fmpz_poly_mod(pub, ctx->q);
|
||||
|
||||
fmpz_poly_init(pair->priv);
|
||||
fmpz_poly_init(pair->priv_inv);
|
||||
fmpz_poly_init(pair->pub);
|
||||
|
||||
fmpz_poly_set(pair->priv, f);
|
||||
|
Loading…
Reference in New Issue
Block a user