diff --git a/src/dsa/rpo_falcon512/math/polynomial.rs b/src/dsa/rpo_falcon512/math/polynomial.rs index 8b503050..ac8bedd4 100644 --- a/src/dsa/rpo_falcon512/math/polynomial.rs +++ b/src/dsa/rpo_falcon512/math/polynomial.rs @@ -76,7 +76,7 @@ impl Polynomial { } /// The following implementations are specific to cyclotomic polynomial rings, -/// i.e., F[ X ] / , and are used extensively in Falcon. +/// i.e., F\[ X \] / , and are used extensively in Falcon. impl< F: One + Zero @@ -103,7 +103,7 @@ impl< } /// Computes the field norm of the polynomial as an element of the cyclotomic ring - /// F[ X ] / relative to one of half the size, i.e., F[ X ] / . + /// F\[ X \] / relative to one of half the size, i.e., F\[ X \] / . /// /// Corresponds to formula 3.25 in the spec [1, p.30]. /// @@ -134,7 +134,7 @@ impl< Self::new(coefficients) } - /// Computes the galois adjoint of the polynomial in the cyclotomic ring F[ X ] / < X^n + 1 > , + /// Computes the galois adjoint of the polynomial in the cyclotomic ring F\[ X \] / < X^n + 1 > , /// which corresponds to f(x^2). pub fn galois_adjoint(&self) -> Self { Self::new(