KEYGEN: fix priv_inv key
This commit is contained in:
parent
8fd5a6c829
commit
23d95ae992
@ -50,7 +50,7 @@ bool ntru_create_keypair(
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (!poly_inverse_poly_q(f, Fp, ctx)) {
|
||||
if (!poly_inverse_poly_p(f, Fp, ctx)) {
|
||||
retval = false;
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user