tass-belgium / picotcp-modules

Application level modules to run on top of the popular Embedded picoTCP TCP/IP stack
GNU General Public License v2.0
8 stars 11 forks source link

Write a library for random number generation in order to be used for crypto-critical stuff. #2

Closed danielinux closed 9 years ago

phalox commented 9 years ago

Not sure if this is applicable, but would it also be useful to provide hooks to add extra entropy from the application? Right now I'm thinking about chips/hardware capable of providing good random data that is not dependent on network traffic or time. Are there ways to add more sources to the random generation, preventing that it ever becomes less random? This is something you would want to guarantee for the sake of the stack.

alexlawriewood commented 9 years ago

Yup, that's in there too!

Cheers, A

2014-11-18 15:39 GMT+01:00 Toon Peters notifications@github.com:

Not sure if this is applicable, but would it also be useful to provide hooks to add extra entropy from the application? Right now I'm thinking about chips/hardware capable of providing good random data that is not dependent on network traffic or time. Are there ways to add more sources to the random generation, preventing that it ever becomes less random? This is something you would want to guarantee for the sake of the stack.

— Reply to this email directly or view it on GitHub https://github.com/tass-belgium/picotcp-modules/issues/2#issuecomment-63479819 .

Alex Wood Software engineer http://www.tass.be E alexander.wood@tass.be | W www.tass.be

alexlawriewood commented 9 years ago

Library is pushed, and the NIST RNG tests pass on everything except 'universal', still investigating.

danielinux commented 9 years ago

@alexlawriewood Comments:

1- there are a few warnings here and there. Please fix. 2- Some void function prototypes look like something function() instead of something function(void). This is not accepted, please fix.

alexlawriewood commented 9 years ago

Okay, will sort.

A


Van: Daniele Lacamera [notifications@github.com] Verzonden: donderdag 5 februari 2015 14:05 Aan: tass-belgium/picotcp-modules CC: WOOD Alexander Onderwerp: Re: [picotcp-modules] Write a library for random number generation in order to be used for crypto-critical stuff. (#2)

@alexlawriewoodhttps://github.com/alexlawriewood Comments:

1- there are a few warnings here and there. Please fix. 2- Some void function prototypes look like something function() instead of something function(void). This is not accepted, please fix.

— Reply to this email directly or view it on GitHubhttps://github.com/tass-belgium/picotcp-modules/issues/2#issuecomment-73042681.

danielinux commented 9 years ago

Hey @alexlawriewood - libfortuna is about to get into production, and I can't still close this until you enable -Wall in your makefile, fix the warnings, and explicit (void) in the functions prototypes/definitions.

Any idea on the timing for this?

alexlawriewood commented 9 years ago

Ciao,

Do I have until next week sometime? Had planned to fix this weekend, but forgot my sister was visiting...

A


Van: Daniele Lacamera [notifications@github.com] Verzonden: vrijdag 13 februari 2015 15:01 Aan: tass-belgium/picotcp-modules CC: WOOD Alexander Onderwerp: Re: [picotcp-modules] Write a library for random number generation in order to be used for crypto-critical stuff. (#2)

Hey @alexlawriewoodhttps://github.com/alexlawriewood - libfortuna is about to get into production, and I can't still close this until you enable -Wall in your makefile, fix the warnings, and explicit (void) in the functions prototypes/definitions.

Any idea on the timing for this?

— Reply to this email directly or view it on GitHubhttps://github.com/tass-belgium/picotcp-modules/issues/2#issuecomment-74257223.

danielinux commented 9 years ago

@alexlawriewood ping?

danielinux commented 9 years ago

Looks fine, thanks. Closed in e626ec5b43c2a9d81f81fcf5e404be7bb9522212