diff --git a/src/decrypt.c b/src/decrypt.c index 60f6700..f162f00 100644 --- a/src/decrypt.c +++ b/src/decrypt.c @@ -34,9 +34,8 @@ * @param priv_key the polynom containing the private key to decrypt * the message * @param priv_key_inv the inverse polynome to the private key - * @param context the ntru_context * @param out the result polynom is written in here [out] - * + * @param ctx the ntru_context */ void ntru_decrypt_poly( fmpz_poly_t encr_msg, diff --git a/src/encrypt.c b/src/encrypt.c index 5d319ea..d529b07 100644 --- a/src/encrypt.c +++ b/src/encrypt.c @@ -36,7 +36,7 @@ * q = large mod * * @param msg pb_poly* the message to encrypt - * @param pubKey pb_poly* the public key + * @param pub_key pb_poly* the public key * @param rnd pb_poly* the random poly * @param out pb_poly* the output poly [out] * @param ctx ntru_context* the ntru context diff --git a/src/poly.c b/src/poly.c index b1e032c..3d88e4a 100644 --- a/src/poly.c +++ b/src/poly.c @@ -433,7 +433,7 @@ cleanup: * and Fast NTRU Key Creation." * * @param a polynomial to invert - * @param Fq polynomial [out] + * @param Fp polynomial [out] * @param ctx NTRU context */ bool poly_inverse_poly_p(fmpz_poly_t a,