tillitis / tkey-random-generator

Random data generator for the Tillitis Tkey, with the possiblity to sign the output to provide proof of its origin.
GNU General Public License v2.0
5 stars 0 forks source link

Document random number generation #13

Open mchack-work opened 1 year ago

mchack-work commented 1 year ago

The description of the internals of the random number generation in random-generator, as in

https://github.com/tillitis/tkey-testapps/tree/main/apps/rng_stream#implementation-details

is missing. It would be helpful to have a similar description, perhaps directly in the source code?

secworks commented 1 year ago

I agree. I'll write one and add in the readme.

secworks commented 1 year ago

Pr #24 now includes some more info. Is it enough?

dehanj commented 1 year ago

Enough for me, any thoughts @mchack-work ?

mchack-work commented 1 year ago

Would be nice with some brief description of how the Hash_DRBG works and what sort of role the CDI plays in the initialisation, perhaps directly as comments in rng.c.

secworks commented 1 year ago

Rather having it in the README. I'm just afraid that it becomes too big and detailed.