fix wrong spelled macros

This commit is contained in:
Steffen Jaeckel 2014-03-04 21:29:40 +01:00
parent 84298440f4
commit 0aee5f3217
5 changed files with 7 additions and 7 deletions

View File

@ -344,7 +344,7 @@
/* use Shamir's trick for point mul (speeds up signature verification) */ /* use Shamir's trick for point mul (speeds up signature verification) */
#define LTC_ECC_SHAMIR #define LTC_ECC_SHAMIR
#if defined(TFM_LTC_DESC) && defined(LTC_MECC) #if defined(TFM_DESC) && defined(LTC_MECC)
#define LTC_MECC_ACCEL #define LTC_MECC_ACCEL
#endif #endif

View File

@ -314,7 +314,7 @@ void ltc_ecc_del_point(ecc_point *p);
int ltc_ecc_is_valid_idx(int n); int ltc_ecc_is_valid_idx(int n);
/* point ops (mp == montgomery digit) */ /* point ops (mp == montgomery digit) */
#if !defined(LTC_MECC_ACCEL) || defined(LTM_LTC_DESC) || defined(GMP_LTC_DESC) #if !defined(LTC_MECC_ACCEL) || defined(LTM_DESC) || defined(GMP_DESC)
/* R = 2P */ /* R = 2P */
int ltc_ecc_projective_dbl_point(ecc_point *P, ecc_point *R, void *modulus, void *mp); int ltc_ecc_projective_dbl_point(ecc_point *P, ecc_point *R, void *modulus, void *mp);

View File

@ -353,16 +353,16 @@ const char *crypt_build_settings =
#if defined(LTC_PTHREAD) #if defined(LTC_PTHREAD)
" LTC_PTHREAD " " LTC_PTHREAD "
#endif #endif
#if defined(LTM_LTC_DESC) #if defined(LTM_DESC)
" LTM_DESC " " LTM_DESC "
#endif #endif
#if defined(TFM_LTC_DESC) #if defined(TFM_DESC)
" TFM_DESC " " TFM_DESC "
#endif #endif
#if defined(LTC_MECC_ACCEL) #if defined(LTC_MECC_ACCEL)
" LTC_MECC_ACCEL " " LTC_MECC_ACCEL "
#endif #endif
#if defined(GMP_LTC_DESC) #if defined(GMP_DESC)
" GMP_DESC " " GMP_DESC "
#endif #endif
#if defined(LTC_EASY) #if defined(LTC_EASY)

View File

@ -21,7 +21,7 @@
ECC Crypto, Tom St Denis ECC Crypto, Tom St Denis
*/ */
#if defined(LTC_MECC) && (!defined(LTC_MECC_ACCEL) || defined(LTM_LTC_DESC)) #if defined(LTC_MECC) && (!defined(LTC_MECC_ACCEL) || defined(LTM_DESC))
/** /**
Add two ECC points Add two ECC points

View File

@ -21,7 +21,7 @@
ECC Crypto, Tom St Denis ECC Crypto, Tom St Denis
*/ */
#if defined(LTC_MECC) && (!defined(LTC_MECC_ACCEL) || defined(LTM_LTC_DESC)) #if defined(LTC_MECC) && (!defined(LTC_MECC_ACCEL) || defined(LTM_DESC))
/** /**
Double an ECC point Double an ECC point