fix doc/bn.tex
This commit is contained in:
parent
e84c094864
commit
cdfe484869
@ -1168,7 +1168,7 @@ It is also not very uncommon to need just the power of two $2^b$; for example t
|
||||
\begin{alltt}
|
||||
int mp_2expt(mp_int *a, int b);
|
||||
\end{alltt}
|
||||
It is faster than doing it by shifting $1$ with \texttt{mp_mul_2d}.
|
||||
It is faster than doing it by shifting $1$ with \texttt{mp\_mul\_2d}.
|
||||
|
||||
\subsection{Polynomial Basis Operations}
|
||||
|
||||
@ -1745,7 +1745,7 @@ moduli of the a ``restricted diminished radix'' form lead to the fastest modular
|
||||
and the other two algorithms.
|
||||
|
||||
\section{Modulus a Power of Two}
|
||||
\index{mp\_mod_2d}
|
||||
\index{mp\_mod\_2d}
|
||||
\begin{alltt}
|
||||
int mp_mod_2d(const mp_int *a, int b, mp_int *c)
|
||||
\end{alltt}
|
||||
|
Loading…
Reference in New Issue
Block a user