diff --git a/src/poly.h b/src/poly.h index b70067f..cae5cbc 100644 --- a/src/poly.h +++ b/src/poly.h @@ -43,8 +43,8 @@ * The same as fmpz_cmp_si except that it * will interpret f as a 0-coefficient if it is a NULL pointer. * - * @param poly the polynom we want to compare - * @param n the coefficient we want to compare + * @param f the fmpz value to use for comparison + * @param g the signed long integer to use for comparison * @return negative value if f < g, positiv evalue if g < f, otherwise 0 */ int diff --git a/src/poly_ascii.h b/src/poly_ascii.h index 22f12fe..3bb47c3 100644 --- a/src/poly_ascii.h +++ b/src/poly_ascii.h @@ -108,7 +108,7 @@ poly_to_ascii(const fmpz_poly_t poly, * Trailing q coefficients are only used for filling up the rest of * a polynomial with '\0', so they will not confuse the result. * - * @param poly_arr the array of polynomials + * @param poly_array the array of polynomials * @param ctx the NTRUEncrypt context * @return the real string, newly allocated */