Merge pull request #421 from libtom/doc-fix
manual: don't mention obsolete MP_DIV_SMALL
This commit is contained in:
commit
bde40c44a9
18
doc/bn.tex
18
doc/bn.tex
@ -271,7 +271,7 @@ test was invoked. If an error is detected the program will exit with a dump of
|
||||
numbers it was working with.
|
||||
|
||||
\section{Build Configuration}
|
||||
LibTomMath can configured at build time in three phases we shall call ``depends'', ``tweaks'' and
|
||||
LibTomMath can configured at build time in two phases we shall call ``depends'' and
|
||||
``trims''. Each phase changes how the library is built and they are applied one after another
|
||||
respectively.
|
||||
|
||||
@ -298,22 +298,6 @@ You will also note that the header \texttt{tommath\_class.h} is actually recursi
|
||||
includes itself twice). This is to help resolve as many dependencies as possible. In the last pass
|
||||
the symbol \texttt{LTM\_LAST} will be defined. This is useful for ``trims''.
|
||||
|
||||
\subsection{Build Tweaks}
|
||||
A tweak is an algorithm ``alternative''. For example, to provide tradeoffs (usually between size
|
||||
and space).
|
||||
They can be enabled at any pass of the configuration phase.
|
||||
|
||||
\begin{small}
|
||||
\begin{center}
|
||||
\begin{tabular}{|l|l|}
|
||||
\hline \textbf{Define} & \textbf{Purpose} \\
|
||||
\hline MP\_DIV\_SMALL & Enables a slower, smaller and equally \\
|
||||
& functional mp\_div() function \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\end{center}
|
||||
\end{small}
|
||||
|
||||
\subsection{Build Trims}
|
||||
A trim is a manner of removing functionality from a function that is not required. For instance,
|
||||
to perform RSA cryptography you only require exponentiation with odd moduli so even moduli support
|
||||
|
Loading…
Reference in New Issue
Block a user