KEYGEN: fix priv_inv key

This commit is contained in:
hasufell 2014-05-25 01:04:09 +02:00
parent 8fd5a6c829
commit 23d95ae992
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -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;
}