CyaSSL on iPhone (RNG)

Developers
2010-08-26
2013-04-23
  • Moisés Guimarães de Medeiros

    Hi guys,

    I'm working on my project for the graduation and i've got interested on doing some weird stuff for my iPhone.
    Since the graduation is in Information Security and I've already worked with cyaSSL in the past, i'm trying to write a new RNG using the accelerometer of the gadget to be one of the sources of entropy.
    Does any one there have any idea to improve the hole thing? In the end, I'll send all the code to you guys…

    tks

    's

     
  • Todd Ouska

    Todd Ouska - 2010-08-26

    Hi,

    Good idea.  I guess my first suggestion is to use an existing RNG and only use your new entropy source as the seed and only in the case where you have enough entropy waiting, otherwise use the devices default entropy source.  In terms of determining whether you're actually getting "random data" I'd start with Knuth's TAOCP Volume 2 Chapter 3.

    -Todd

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks