*
* They are represented as 10 limbs of alternating 25- and 26-bit values so that
*
- * `n = 2⁰a[0] + 2²⁶a[1] + 2��a[2] ... + 2²³⁰a[9]`
+ * `n = 2⁰a[0] + 2²⁶a[1] + 2��¹a[2] ... + 2²³⁰a[9]`
*/
import { load_3, load_4 } from './utils'
}
/**
+ * `f₀ = a₀b₀`
+ *
* Multiply two FieldElements and store the product.
*
* @param f FieldElement product destination
}
/**
+ * `f₀ = a₀b₀√-1`
+ *
* Multiply a FieldElement with the Ed25519 constant `√-1` and store the product.
*
* @param f FieldElement product destination
}
/**
+ * `f₀ = a₀b₀; f₁ = a₁b₁√-1`
+ *
* For two pairs of FieldElements, multiply pairwise in parallel, multiply the
* second lane by the Ed25519 constant `√-1`, and store the product.
*
}
/**
+ * `f₀ = a₀b₀d`
+ *
* Multiply a FieldElement with the Ed25519 constant `d` and store the product.
*
* @param f FieldElement product destination
}
/**
+ * `f₀ = 2a₀b₀d`
+ *
* Multiply a FieldElement with the Ed25519 constant `2d` and store the product.
*
* @param f FieldElement product destination
}
/**
+ * `f₀ = a₀b₀; f₁ = a₁b₁d`
+ *
* For two pairs of FieldElements, multiply pairwise in parallel and store the
* product.
*
}
/**
+ * `f₀ = a₀b₀; f₁ = 2a₁b₁d`
+ *
* For two pairs of FieldElements, multiply pairwise in parallel, multiply the
* second lane by the Ed25519 constant `2d`, 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 f_1 FieldElement B product destination * 2d
* @param a_1 FieldElement B multiplicand source
* @param b_1 FieldElement B multiplicand source
*
}
/**
+ * `f₀ = 2a₀b₀; f₁ = a₁b₁`
+ *
* For two pairs of FieldElements, multiply pairwise in parallel, double the
* first lane, and store the product.
*
}
/**
+ * `f₀ = 2a₀b₀; f₁ = 2a₁b₁d`
+ *
* For two pairs of FieldElements, multiply pairwise in parallel, double the
* first lane, multiply the second lane by the Ed25519 constant `2d`, and store
* the product.
}
/**
- * `f�� = a₁²; f₂ = a₂²`
+ * `f�� = a₀²; f₁ = a₁²`
*
* Square two FieldElement values in parallel and store the results.
*
}
/**
- * `f�� = 2a₁; f₂ = 2a₂`
+ * `f�� = a₀²; f₁ = 2a₁²`
*
* Square two FieldElement values in parallel, double the second one, and store
* the results.