fix LTC_MINIMAL
This commit is contained in:
parent
fd99c3e3c0
commit
383f200cb6
@ -127,11 +127,13 @@
|
|||||||
|
|
||||||
/* The minimal set of functionality to run the tests */
|
/* The minimal set of functionality to run the tests */
|
||||||
#ifdef LTC_MINIMAL
|
#ifdef LTC_MINIMAL
|
||||||
|
#define LTC_RIJNDAEL
|
||||||
#define LTC_SHA256
|
#define LTC_SHA256
|
||||||
|
#define LTC_YARROW
|
||||||
#define LTC_CTR_MODE
|
#define LTC_CTR_MODE
|
||||||
|
|
||||||
#define LTC_RNG_MAKE_PRNG
|
#define LTC_RNG_MAKE_PRNG
|
||||||
#define LTC_RNG_GET_BYTES
|
#define LTC_RNG_GET_BYTES
|
||||||
#define LTC_YARROW
|
|
||||||
#define LTC_DEVRANDOM
|
#define LTC_DEVRANDOM
|
||||||
#define LTC_TRY_URANDOM_FIRST
|
#define LTC_TRY_URANDOM_FIRST
|
||||||
|
|
||||||
@ -172,11 +174,11 @@
|
|||||||
/* TomsFastMath */
|
/* TomsFastMath */
|
||||||
/* #define TFM_DESC */
|
/* #define TFM_DESC */
|
||||||
|
|
||||||
#endif /* LTC_NO_MATH */
|
|
||||||
|
|
||||||
/* GNU Multiple Precision Arithmetic Library */
|
/* GNU Multiple Precision Arithmetic Library */
|
||||||
/* #define GMP_DESC */
|
/* #define GMP_DESC */
|
||||||
|
|
||||||
|
#endif /* LTC_NO_MATH */
|
||||||
|
|
||||||
/* ---> Symmetric Block Ciphers <--- */
|
/* ---> Symmetric Block Ciphers <--- */
|
||||||
#ifndef LTC_NO_CIPHERS
|
#ifndef LTC_NO_CIPHERS
|
||||||
|
|
||||||
@ -303,13 +305,6 @@
|
|||||||
|
|
||||||
/* Yarrow */
|
/* Yarrow */
|
||||||
#define LTC_YARROW
|
#define LTC_YARROW
|
||||||
/* which descriptor of AES to use? */
|
|
||||||
/* 0 = rijndael_enc 1 = aes_enc, 2 = rijndael [full], 3 = aes [full] */
|
|
||||||
#ifdef ENCRYPT_ONLY
|
|
||||||
#define LTC_YARROW_AES 0
|
|
||||||
#else
|
|
||||||
#define LTC_YARROW_AES 2
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* a PRNG that simply reads from an available system source */
|
/* a PRNG that simply reads from an available system source */
|
||||||
#define LTC_SPRNG
|
#define LTC_SPRNG
|
||||||
@ -335,6 +330,18 @@
|
|||||||
|
|
||||||
#endif /* LTC_NO_PRNGS */
|
#endif /* LTC_NO_PRNGS */
|
||||||
|
|
||||||
|
#ifdef LTC_YARROW
|
||||||
|
|
||||||
|
/* which descriptor of AES to use? */
|
||||||
|
/* 0 = rijndael_enc 1 = aes_enc, 2 = rijndael [full], 3 = aes [full] */
|
||||||
|
#ifdef ENCRYPT_ONLY
|
||||||
|
#define LTC_YARROW_AES 0
|
||||||
|
#else
|
||||||
|
#define LTC_YARROW_AES 2
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef LTC_FORTUNA
|
#ifdef LTC_FORTUNA
|
||||||
|
|
||||||
#ifndef LTC_FORTUNA_WD
|
#ifndef LTC_FORTUNA_WD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user