summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2014-02-11 22:26:02 +0100
committerNiels M?ller <nisse@lysator.liu.se>2014-02-11 22:26:02 +0100
commit391e9c6069965ba8eb35eddc272c741949cee7dd (patch)
treeaa9faf491e1bb9bc8c3978bbbf6df80a419bf382 /doc
parenteb2f474383c3538aa963d3ddfa89cd13f8b7083d (diff)
downloadgmp-391e9c6069965ba8eb35eddc272c741949cee7dd.tar.gz
mpn_sec_powm: Rename bit count argument.
Diffstat (limited to 'doc')
-rw-r--r--doc/gmp.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi
index 18164f59a..8caac368f 100644
--- a/doc/gmp.texi
+++ b/doc/gmp.texi
@@ -5743,18 +5743,18 @@ guaranteed to increase monotonously in the operand size.
@end deftypefun
-@deftypefun void mpn_sec_powm (mp_limb_t *@var{rp}, const mp_limb_t *@var{bp}, mp_size_t @var{bn}, const mp_limb_t *@var{ep}, mp_bitcnt_t @var{ebits}, const mp_limb_t *@var{mp}, mp_size_t @var{n}, mp_limb_t *@var{tp})
-@deftypefunx mp_size_t mpn_sec_powm_itch (mp_size_t @var{bn}, mp_bitcnt_t @var{ebits}, size_t @var{n})
+@deftypefun void mpn_sec_powm (mp_limb_t *@var{rp}, const mp_limb_t *@var{bp}, mp_size_t @var{bn}, const mp_limb_t *@var{ep}, mp_bitcnt_t @var{enb}, const mp_limb_t *@var{mp}, mp_size_t @var{n}, mp_limb_t *@var{tp})
+@deftypefunx mp_size_t mpn_sec_powm_itch (mp_size_t @var{bn}, mp_bitcnt_t @var{enb}, size_t @var{n})
Set @var{R} to @m{B^E \bmod @var{M}, (@var{B} raised to @var{E}) modulo
@var{M}}, where @var{R} = @{@var{rp},@var{n}@}, @var{M} = @{@var{mp},@var{n}@},
-and @var{E} consists of the least @var{ebits} in the area pointed to by @var{ep}.
+and @var{E} consists of the least @var{enb} in the area pointed to by @var{ep}.
It is required that @math{@var{B} > 0}, and that @math{@var{M} > 0} is odd.
No overlapping between @var{R} and the input operands is allowed.
This function requires scratch space of @code{mpn_sec_powm_itch(@var{bn},
-@var{ebits}, @var{n})} limbs to be passed in the @var{tp} parameter. The scratch
+@var{enb}, @var{n})} limbs to be passed in the @var{tp} parameter. The scratch
space requirements are guaranteed to increase monotonously in the operand
sizes.
@end deftypefun