trim trailing spaces
fix CC parameter given to make in testprof folder
math: change get_digit() return value

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
fix compiler warning when compiling with GMP_DESC
Merge branch 'fix/x32' into develop

This closes #51
RSA in case CRT optimization parameters are not populated

rsa_exptmod(), ran on the private key, makes use of CRT optimization
parameters. In some use-cases, the given key does not include the
optimization parameters.

This patch allows rsa_exptmod() to run without the CRT parameters,
using directly mp_exptmod().

Signed-off-by: Pascal Brand <pascal.brand@st.com>
RSA in CRT optimization parameters are empty
add testcase to verify that this patch is working
Merge branch 'pascal-brand-st/rsa' into develop

This closes #53
Enable multiple XTS encryption or decryption

multiple xts_encrypt() cannot be performed because the
tweak is not updated. That means that
  xts_encrypt(buffer1, tweak)
  xts_encrypt(buffer2, tweak)
is not the same as
  xts_encrypt(concat(buffer1, buffer2), tweak)

Current patch enables such functionalities by
updating the tweak as output of the encryption.
Note that the tweak is no more constant.

The very same modification is performed
on xts_decrypt()

Signed-off-by: Pascal Brand <pascal.brand@st.com>
add testcase for multiple XTS encryption/decryption
Merge branch 'pascal-brand-st/xts' into develop

This closes #52
add sha512/224 and sha512/256
add special build rules for sha512/224 and sha512/256
update makefiles
add sha512/224 and sha512/256 to tests and crypt_build_settings
Merge branch 'feature/sha2t' into develop
fix API of dynamic language helpers

it is easier to handle 'int' than 'long' in the foreign language
Revert "removed testing of "stripped" rsa key"

This reverts commit 496453f28920c6f5d657173ed8028d3a73fd5115.
add possibility to export RSA public key in SubjectPublicKeyInfo format