unsigned long is 32bit wide when compiling with the compiler flag "-mx32" but the digit size of the math libraries is still 64 bit which lead to the buggy ecc code. Therefore define a new type ltc_mp_digit with the correct width and use that as return value of get_digit() Has been tested with all three math providers
libtomcrypt
See doc/crypt.pdf for a detailed documentation
Project Status
Submitting patches
Please branch off from develop if you want to submit a patch.
Branches
Please be aware, that all branches besides master and develop can and will be force-pushed, rebased and/or removed!
If you want to rely on such an unstable branch, create your own fork of this repository to make sure nothing breaks for you.
Languages
C
98.2%
Makefile
0.7%
Perl
0.4%
Shell
0.3%
Java
0.2%
Other
0.1%