Believe it or not, for the last few weeks i've actually started working on porting OpenSSL (which includes RSA as well as many many other algorithms) to the Palm. Currently all of the tests pass, except for the SSL test. The code is currently not in any form that is distributable right now; but if you like I suppose I could compile a CodeWarrior static library of a certain algorithm.
Just let me know which algorithm you need. DSA would also fit the bill, btw. If you're using the GNU tools, then there is an SSLeay port to the palm, I believe you can find a link to it from the OpenSSL site. BTW - Typically what I do to avoid the stack overflows (which most commonly seem to popup in the tests) is to do a #ifdef palmos and then replace the stack declaration with a dynamic allocation (malloc/free), along with an associated free before each return. - Max At 07:26 am 12/16/2001, you wrote: >Hi. > >I was trying to get RSA encryption/decryption work on Palm. I pulled a code >from the net created in 1988. I looks like standard C. I tried it on my >Linux. IT works perfectly. There is no big problem compile it for Palm. >However, when I run it, it blows the stack right away. > >Before I try to rework the code to make it run on Palm, I would like to >ask the >list if there has been work done on porting RSA codes to Palm. > >I don't have to use RSA. Actually I just need an asysmetric encryption method >that use the popular public/private key scheme. It doesn't have to be >military >grade either. As long as it can take several days of brutal force cracking on >a home PC. Anyone knows a simple solution other than RSA? > >THanks. > >Max > > > > > > > >__________________________________________________ >Do You Yahoo!? >Check out Yahoo! Shopping and Yahoo! Auctions for all of >your unique holiday gifts! Buy at http://shopping.yahoo.com >or bid at http://auctions.yahoo.com > >-- >For information on using the Palm Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
