Skip to content

Commit 7b22b9c

Browse files
committed
Remove init_{GMP,LTM,TFM}()
Signed-off-by: Steffen Jaeckel <[email protected]>
1 parent 34f19da commit 7b22b9c

File tree

3 files changed

+0
-42
lines changed

3 files changed

+0
-42
lines changed

doc/crypt.tex

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10369,17 +10369,6 @@ \subsection{RSA Functions}
1036910369

1037010370
\mysection{Deprecated API functions}
1037110371

10372-
\subsection{After v1.18.0}
10373-
10374-
\index{init\_LTM()} \index{init\_TFM()} \index{init\_GMP()}
10375-
\begin{verbatim}
10376-
void init_LTM(void);
10377-
void init_TFM(void);
10378-
void init_GMP(void);
10379-
\end{verbatim}
10380-
10381-
These three MPI init functions have been introduced in version 1.18.0 and have been deprecated in the same version in favor of \code{crypt\_mp\_init()}, c.f. Ch. \ref{mp-init}.
10382-
1038310372
\clearpage
1038410373
\addcontentsline{toc}{chapter}{Index}
1038510374
\printindex

src/headers/tomcrypt_misc.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,6 @@ int crypt_list_all_constants(char *names_list, unsigned int *names_list_size);
102102
int crypt_get_size(const char* namein, unsigned int *sizeout);
103103
int crypt_list_all_sizes(char *names_list, unsigned int *names_list_size);
104104

105-
#ifdef LTM_DESC
106-
LTC_DEPRECATED(crypt_mp_init) void init_LTM(void);
107-
#endif
108-
#ifdef TFM_DESC
109-
LTC_DEPRECATED(crypt_mp_init) void init_TFM(void);
110-
#endif
111-
#ifdef GMP_DESC
112-
LTC_DEPRECATED(crypt_mp_init) void init_GMP(void);
113-
#endif
114105
int crypt_mp_init(const char* mpi);
115106

116107
#ifdef LTC_ADLER32

src/misc/crypt/crypt_inits.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,6 @@
99
like Python - Larry Bugbee, February 2013
1010
*/
1111

12-
13-
#ifdef LTM_DESC
14-
void init_LTM(void)
15-
{
16-
ltc_mp = ltm_desc;
17-
}
18-
#endif
19-
20-
#ifdef TFM_DESC
21-
void init_TFM(void)
22-
{
23-
ltc_mp = tfm_desc;
24-
}
25-
#endif
26-
27-
#ifdef GMP_DESC
28-
void init_GMP(void)
29-
{
30-
ltc_mp = gmp_desc;
31-
}
32-
#endif
33-
3412
int crypt_mp_init(const char* mpi)
3513
{
3614
if (mpi == NULL) return CRYPT_ERROR;

0 commit comments

Comments
 (0)