I decided upload some sources. It's on Dephi/Pascal,
but with samples/help and source code.
You can easy translate to C++.
Implemtation of DES, ECC, MD5, RIPE-MD, SHA included.
Good old TMS units.
Sorry, no RSA, but I hope it's be useful to somebody.
If I find RSA related, i share it on this forum.
I used MD5 instead of CRC, based on this sources.