You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LibTomCrypt can also be built as an amalgamated library, i.e. as a single C source file + the header files.
8903
+
8904
+
A release of the library contains the amalgamation in the path \texttt{pre\_gen/tomcrypt\_amalgam.c}.
8905
+
8906
+
To create the amalgamation one can run:
8907
+
8908
+
\begin{verbatim}
8909
+
make pre_gen
8910
+
\end{verbatim}
8911
+
8912
+
The makefiles also support building the amalgamated library via:
8913
+
8914
+
\begin{verbatim}
8915
+
make CFLAGS="-DLTM_DESC" EXTRALIBS=-ltommath AMALGAM=1
8916
+
\end{verbatim}
8917
+
8918
+
This will build the library and link against LibTomMath (which must be installed on your system).
8919
+
8920
+
8899
8921
\mysection{Header Configuration}
8900
8922
The file \textit{tomcrypt\_cfg.h} is what lets you control various high level macros which control the behaviour of the library. Build options are also
8901
8923
stored in \textit{tomcrypt\_custom.h} which allow the enabling and disabling of various algorithms.
0 commit comments