Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-18 | WIP Revamp ChaCha20 seedingln/cc20rng-revamp | Linus Nordberg | |
- chacha20_prng_block() uses counter in the state struct - chacha20_setup() replaces chacha20_prng_reseed() and fills the whole state struct, fixing a bug where only half of the key was being set; as a result of 'counter' being set, a state struct filled with entropy from the TRNG makes reseeding occur after a random number of rounds instead of after a fixed 2^32-1 rounds - decrementing of the block counter is done in chacha20_prng_block() - chacha output is copied to buf _after_ the interrupt driven transmission of buf to UART has finished, to stop the race between reading and refilling of buf | |||
2019-12-18 | Formatting cc20rng | Linus Nordberg | |
Keep indentation level 2 in main.c to minimise changes. | |||
2019-12-16 | rev11 hardware | Linus Nordberg | |
2019-12-16 | Make local functions static | Linus Nordberg | |
2019-12-16 | Allow for overriding which application to build | Linus Nordberg | |
2016-11-21 | add RNG using ChaCha20 as CSPRNG | Fredrik Thulin | |
2015-06-28 | Enable dual USART output functionality. | Fredrik Thulin | |
In other words, enable the USART connected to the serial port on the Raspberry Pi GPIO header. Sending a newline to either USART directs the generated entropy to that USART. | |||
2015-06-28 | Remove trailing whitespace and DOS line endings. | Fredrik Thulin | |
2015-01-15 | init | Fredrik Thulin | |
2015-01-15 | new repository initial commit | Fredrik Thulin | |