trim trailing spaces
This commit is contained in:
parent
e8d4598616
commit
67b9cd8a95
@ -393,7 +393,6 @@ const char *crypt_build_settings =
|
|||||||
" LTC_ECC_SHAMIR "
|
" LTC_ECC_SHAMIR "
|
||||||
#endif
|
#endif
|
||||||
"\n"
|
"\n"
|
||||||
"\n\n\n"
|
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
/**
|
/**
|
||||||
@file ecc_test.c
|
@file ecc_test.c
|
||||||
ECC Crypto, Tom St Denis
|
ECC Crypto, Tom St Denis
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef LTC_MECC
|
#ifdef LTC_MECC
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map)
|
|||||||
mp_clear(mu);
|
mp_clear(mu);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* alloc ram for window temps */
|
/* alloc ram for window temps */
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
M[i] = ltc_ecc_new_point();
|
M[i] = ltc_ecc_new_point();
|
||||||
@ -92,7 +92,7 @@ int ltc_ecc_mulmod(void *k, ecc_point *G, ecc_point *R, void *modulus, int map)
|
|||||||
}
|
}
|
||||||
mp_clear(mu);
|
mp_clear(mu);
|
||||||
mu = NULL;
|
mu = NULL;
|
||||||
|
|
||||||
/* calc the M tab, which holds kG for k==8..15 */
|
/* calc the M tab, which holds kG for k==8..15 */
|
||||||
/* M[0] == 8G */
|
/* M[0] == 8G */
|
||||||
if ((err = ltc_mp.ecc_ptdbl(tG, M[0], modulus, mp)) != CRYPT_OK) { goto done; }
|
if ((err = ltc_mp.ecc_ptdbl(tG, M[0], modulus, mp)) != CRYPT_OK) { goto done; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user