Does Encryption use /dev/random or /dev/urandom?
Posted: Mon May 23, 2016 4:55 pm
Hello,
I currently have a VPN tunnel setup through an Odroid C1+ which has HWRNG. I initially ran some speed tests and got about 35mbps through put which seemed ok. Upon further investigation i learned I did not have the HWRNG setup properly on my Odroid. I installed rng-tools and got it working properly and tested it using the /dev/random node to generate random numbers. Considering my ISP speed is 50mbps I expected to see it cap out at around 50mbps. However I see no difference in speed. I also don't believe its the server because I run speed tests concurrently on my desktop and hit around 52mbps, while my Odroid is still getting 35mbps, whether I have rng-tools enabled or not I see no difference.
The reason I came here is, while trying to troubleshoot this in the Odroid forums, a mod asked me to find out how openvpn accesses the /dev/random node, but I can't seem to find anything anywhere after a few hours of scouring the web and your forums.
Any help would be appreciated!
I currently have a VPN tunnel setup through an Odroid C1+ which has HWRNG. I initially ran some speed tests and got about 35mbps through put which seemed ok. Upon further investigation i learned I did not have the HWRNG setup properly on my Odroid. I installed rng-tools and got it working properly and tested it using the /dev/random node to generate random numbers. Considering my ISP speed is 50mbps I expected to see it cap out at around 50mbps. However I see no difference in speed. I also don't believe its the server because I run speed tests concurrently on my desktop and hit around 52mbps, while my Odroid is still getting 35mbps, whether I have rng-tools enabled or not I see no difference.
The reason I came here is, while trying to troubleshoot this in the Odroid forums, a mod asked me to find out how openvpn accesses the /dev/random node, but I can't seem to find anything anywhere after a few hours of scouring the web and your forums.
Any help would be appreciated!