}
/**
- * `f₀ = a₀b₀√-1`
+ * `f = a√-1`
*
* Multiply a FieldElement with the Ed25519 constant `√-1` and store the product.
*
}
/**
- * `f₀ = a₀b₀; f₁ = a₁b₁√-1`
+ * `f₀ = a₀b₀; f₁ = a₁√-1`
*
* For two pairs of FieldElements, multiply pairwise in parallel, multiply the
* second lane by the Ed25519 constant `√-1`, and store the product.
*
- * @param f_0 A product destination
- * @param a_0 A multiplicand source
- * @param b_0 A multiplicand source
- * @param f_1 B product destination * √-1
- * @param a_1 B multiplicand source
+ * @param f_0 First product destination
+ * @param a_0 First multiplicand source
+ * @param b_0 First multiplicand source
+ * @param f_1 Second product destination * √-1
+ * @param a_1 Second multiplicand source
*/
export function fe_mul_pair_sqrtm1 (f_0: FieldElement, a_0: FieldElement, b_0: FieldElement, f_1: FieldElement, a_1: FieldElement): void {
fe_extmul_pair(f_0, a_0, b_0, f_1, a_1, sqrtm1_0123, sqrtm1_4567, sqrtm1_89xx)
}
/**
- * `f₀ = a₀b₀d`
+ * `f = ad`
*
* Multiply a FieldElement with the Ed25519 constant `d` and store the product.
*
}
/**
- * `f₀ = 2a₀b₀d`
+ * `f = 2ad`
*
* Multiply a FieldElement with the Ed25519 constant `2d` and store the product.
*
}
/**
- * `f₀ = a₀b₀; f₁ = a₁b₁d`
+ * `f₀ = a₀b₀; f₁ = a₁b₁`
*
* For two pairs of FieldElements, multiply pairwise in parallel and store the
* product.
*
- * @param f_0 FieldElement A product destination
- * @param a_0 FieldElement A multiplicand source
- * @param b_0 FieldElement A multiplicand source
- * @param f_1 FieldElement B product destination
- * @param a_1 FieldElement B multiplicand source
- * @param b_1 FieldElement B multiplicand source
+ * @param f_0 FieldElement First product destination
+ * @param a_0 FieldElement First multiplicand source
+ * @param b_0 FieldElement First multiplicand source
+ * @param f_1 FieldElement Second product destination
+ * @param a_1 FieldElement Second multiplicand source
+ * @param b_1 FieldElement Second multiplicand source
*/
export function fe_mul_pair (f_0: FieldElement, a_0: FieldElement, b_0: FieldElement, f_1: FieldElement, a_1: FieldElement, b_1: FieldElement): void {
// Load all 10 limbs of second `b` to pass to helper function