File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ int crypt_get_size(const char* namein, unsigned int *sizeout);
7373int crypt_list_all_sizes (char * names_list , unsigned int * names_list_size );
7474
7575#ifdef LTM_DESC
76- void init_LTM (void );
76+ LTC_DEPRECATED void init_LTM (void );
7777#endif
7878#ifdef TFM_DESC
79- void init_TFM (void );
79+ LTC_DEPRECATED void init_TFM (void );
8080#endif
8181#ifdef GMP_DESC
82- void init_GMP (void );
82+ LTC_DEPRECATED void init_GMP (void );
8383#endif
8484int crypt_mp_init (const char * mpi );
8585
Original file line number Diff line number Diff line change @@ -44,19 +44,19 @@ int crypt_mp_init(const char* mpi)
4444#ifdef LTM_DESC
4545 case 'l' :
4646 case 'L' :
47- init_LTM () ;
47+ ltc_mp = ltm_desc ;
4848 return CRYPT_OK ;
4949#endif
5050#ifdef TFM_DESC
5151 case 't' :
5252 case 'T' :
53- init_TFM () ;
53+ ltc_mp = tfm_desc ;
5454 return CRYPT_OK ;
5555#endif
5656#ifdef GMP_DESC
5757 case 'g' :
5858 case 'G' :
59- init_GMP () ;
59+ ltc_mp = gmp_desc ;
6060 return CRYPT_OK ;
6161#endif
6262#ifdef EXT_MATH_LIB
You can’t perform that action at this time.
0 commit comments