diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 16:20:10 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2014-01-19 16:20:10 +0100 |
commit | 1dac2c12d2024c17c238fd87323b8ef72a64304c (patch) | |
tree | e35f16b8d64f6444452a4804b0ee9fe8e31fdb60 /doc | |
parent | c8a969f0d5254ca8e9a5498fae8c2083433c6a5d (diff) | |
download | gmp-1dac2c12d2024c17c238fd87323b8ef72a64304c.tar.gz |
Rename mpn_sec_minvert => mpn_sec_invert, many files affected.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gmp.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi index f3c2add44..32eae0996 100644 --- a/doc/gmp.texi +++ b/doc/gmp.texi @@ -5783,8 +5783,8 @@ This function requires scratch space of @code{mpn_sec_div_r_itch(@var{nn}, @var{dn})} limbs to be passed in the @var{tp} parameter. @end deftypefun -@deftypefun int mpn_sec_minvert (mp_limb_t *@var{rp}, mp_limb_t *@var{ap}, const mp_limb_t *@var{mp}, mp_size_t @var{n}, mp_bitcnt_t @var{nbcnt}, mp_limb_t *@var{tp}) -@deftypefunx mp_size_t mpn_sec_minvert_itch (mp_size_t @var{n}) +@deftypefun int mpn_sec_invert (mp_limb_t *@var{rp}, mp_limb_t *@var{ap}, const mp_limb_t *@var{mp}, mp_size_t @var{n}, mp_bitcnt_t @var{nbcnt}, mp_limb_t *@var{tp}) +@deftypefunx mp_size_t mpn_sec_invert_itch (mp_size_t @var{n}) Set @var{R} to @m{@var{A}^{-1} \bmod @var{M}, the inverse of @var{A} modulo @var{M}}, where @var{R} = @{@var{rp},@var{n}@}, @var{A} = @{@var{ap},@var{n}@}, and @var{M} = @{@var{mp},@var{n}@}. @strong{This function's interface is @@ -5799,7 +5799,7 @@ It is required that @var{M} is odd, and that @math{@var{nbcnt} @ge @times{} @var{n} @times{} GMP_NUMB_BITS}, but a smaller value might improve performance if @var{M} or @var{A} are known to have leading zero bits. -This function requires scratch space of @code{mpn_sec_minvert_itch(@var{n})} +This function requires scratch space of @code{mpn_sec_invert_itch(@var{n})} limbs to be passed in the @var{tp} parameter. @end deftypefun |