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
int register_hash(const struct _hash_descriptor *hash);
2756
+
int register_hash(const struct ltc_hash_descriptor *hash);
2757
2757
2758
-
int unregister_hash(const struct _hash_descriptor *hash);
2758
+
int unregister_hash(const struct ltc_hash_descriptor *hash);
2759
2759
\end{verbatim}
2760
2760
2761
2761
The following hashes are provided as of this release within the LibTomCrypt library:
@@ -3824,7 +3824,7 @@ \subsection{Example}
3824
3824
PRNGs have descriptors that allow plugin driven functions to be created using PRNGs. The plugin descriptors are stored in the structure \textit{prng\_descriptor}. The
3825
3825
format of an element is:
3826
3826
\begin{verbatim}
3827
-
struct _prng_descriptor {
3827
+
struct ltc_prng_descriptor {
3828
3828
char *name;
3829
3829
int export_size; /* size in bytes of exported state */
int register_prng(const struct _prng_descriptor *prng);
3864
-
int unregister_prng(const struct _prng_descriptor *prng);
3863
+
int register_prng(const struct ltc_prng_descriptor *prng);
3864
+
int unregister_prng(const struct ltc_prng_descriptor *prng);
3865
3865
\end{verbatim}
3866
3866
3867
3867
The register function will register the PRNG, and return the index into the table where it was placed (or -1 for error). It will avoid registering the same
0 commit comments