Commit Graph

20 Commits

Author SHA1 Message Date
Mickey Malone
84fd2e55fc Update logging statements and added gif with FIPS 140-2 results using random bits from the Pico. 2021-02-14 14:31:43 -06:00
Mickey Malone
cdce85171f Updated README.md 2021-02-14 14:11:04 -06:00
Mickey Malone
dfed974be8 Remove Kbuild generation from driver cmake 2021-02-14 12:49:55 -06:00
Mickey Malone
94699bfa10 Added LICENSE.md, updated README.md, fixed test tool, and organized driver code. 2021-02-14 12:29:00 -06:00
Mickey Malone
142a0fcdac fix build issue 2021-02-14 10:27:21 -06:00
Mickey Malone
15316f2a51 More comments 2021-02-13 09:58:22 -06:00
Mickey Malone
53a9d6bdf3 Add comment 2021-02-13 09:42:33 -06:00
Mickey Malone
e1fa69d49e Changed back to add_hwgenerator_randomness 2021-02-13 09:40:03 -06:00
Mickey Malone
edc12a7988 Updated with kernel thread to add randmoness 2021-02-13 09:05:10 -06:00
Mickey Malone
5571c8809c Tried using srand with rand to achieve more randomness. sudo cat /dev/pico_rng | rngtest -c 1000 still says that it is not even close to being good enough. Although, if we feed this data into the kernel with the other data sources it should be FIPS 140-2 compliant. By itself it is not. 2021-02-12 07:34:15 -06:00
Mickey Malone
ce9e5deb54 Driver exposes a character device /dev/pico_rng. Updated driver to support the character device. Tested with dd and cat. I am getting better performance than with Python, no shocker there. 2021-02-12 06:55:02 -06:00
Mickey Malone
396455021a Played around with usb kernel code. Ended up with these modifications that reads random data on probe. 2021-02-10 20:23:12 -06:00
Mickey Malone
55de2de8c7 Updated firware to contain only 1 endpoint. Created a global data buffer to hold the ADC EP1 IN data. This increased performance from 7.5 KBps to 150+ KBps. 2021-02-10 07:26:40 -06:00
Mickey Malone
b1eb887656 Work in progress, updated test tool to only read and prototyped firmware to continuously write to the TX buffer. Firmware still needs work, this was only done to understand how the pico usb core works. 2021-02-09 07:05:45 -06:00
Mickey Malone
c8e1023366 fix buffer overflow errors 2021-02-07 14:38:32 -06:00
Mickey Malone
8cdffc8d4c Updated firmware and test tool with with simple random number generator code 2021-02-07 11:01:42 -06:00
Mickey Malone
b4d5453fd4 Created driver shell 2021-02-06 16:34:34 -06:00
Mickey Malone
b076133178 Added linux kernel module 2021-02-06 11:59:39 -06:00
Mickey Malone
c64e6d5cc7 Initial commit 2021-02-06 08:35:38 -06:00
Mickey Malone
c77250398e Initial commit 2021-02-06 08:20:15 -06:00