I'm writing a program that includes cryptographic code. I'm looking
for a good source of random numbers, or (failing that) some good
sources of entropy to feed into a PRNG in my own code. I don't mind
simple undocumented or semi-documented mechanisms, as long as they
will work on my Tungsten C at the very least.
Palm OS 5.2 includes an SSL library, so there must be a random
number generator in there somewhere that's better than SysRandom().
The SSL and CPM APIs don't appear to provide anything useful.
(SysRandom() itself is cryptographically useless, I assume.)
For entropy, TimGetTicks() only provides one-hundredth of a second
resolution. This is not great, but better than nothing. I assume
the ARM CPUs contain much better timers, but I don't know how to
access them.
Thanks for any suggestions.
--
Greg Parker [EMAIL PROTECTED]
http://www.sealiesoftware.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/