comparison libtomcrypt/src/misc/crypt/crypt_inits.c @ 1511:5916af64acd4 fuzz

merge from main
author Matt Johnston <matt@ucc.asn.au>
date Sat, 17 Feb 2018 19:29:51 +0800
parents 6dba84798cd5
children
comparison
equal deleted inserted replaced
1457:32f990cc96b1 1511:5916af64acd4
1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
2 *
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
5 *
6 * The library is free for all purposes without any express
7 * guarantee it works.
8 */
9 #include "tomcrypt.h"
10
11 /**
12 @file crypt_inits.c
13
14 Provide math library functions for dynamic languages
15 like Python - Larry Bugbee, February 2013
16 */
17
18
19 #ifdef LTM_DESC
20 void init_LTM(void)
21 {
22 ltc_mp = ltm_desc;
23 }
24 #endif
25
26 #ifdef TFM_DESC
27 void init_TFM(void)
28 {
29 ltc_mp = tfm_desc;
30 }
31 #endif
32
33 #ifdef GMP_DESC
34 void init_GMP(void)
35 {
36 ltc_mp = gmp_desc;
37 }
38 #endif
39
40
41 /* ref: $Format:%D$ */
42 /* git commit: $Format:%H$ */
43 /* commit time: $Format:%ai$ */