diff --git a/library/bignum_mod.h b/library/bignum_mod.h index 67684bd677..497f4b5b5a 100644 --- a/library/bignum_mod.h +++ b/library/bignum_mod.h @@ -34,7 +34,7 @@ * - **Bignum representation**: the representation of inputs and outputs is * specified by the \p int_rep field of the modulus. * - **Parameter ordering**: for bignum parameters, outputs come before inputs. - * Temporaries come last. + * The modulus is passed after residues. Temporaries come last. * - **Aliasing**: in general, output bignums may be aliased to one or more * inputs. Modulus values may not be aliased to any other parameter. Outputs * may not be aliased to one another. Temporaries may not be aliased to any diff --git a/library/bignum_mod_raw.h b/library/bignum_mod_raw.h index ddb2d09564..93df46f622 100644 --- a/library/bignum_mod_raw.h +++ b/library/bignum_mod_raw.h @@ -36,7 +36,8 @@ * specified by the \p int_rep field of the modulus for arithmetic * functions. Utility functions may allow for different representation. * - **Parameter ordering**: for bignum parameters, outputs come before inputs. - * Temporaries come last. + * The modulus is passed after other bignum input parameters. Temporaries + * come last. * - **Aliasing**: in general, output bignums may be aliased to one or more * inputs. Modulus values may not be aliased to any other parameter. Outputs * may not be aliased to one another. Temporaries may not be aliased to any