From 516b14414a21b1234dd1c8b8c3484034aa04da91 Mon Sep 17 00:00:00 2001 From: hasufell Date: Wed, 4 Jun 2014 21:23:00 +0200 Subject: [PATCH] DOC: fix various doxygen comments --- src/poly.h | 4 ++-- src/poly_ascii.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 */