diff options
author | Jakob Unterwurzacher | 2017-06-11 19:56:59 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-06-11 21:29:50 +0200 |
commit | 9837cb0ddc5c38af9916a2a6a580092caf952e59 (patch) | |
tree | f699a605b9c60d1a1f24ea8c6b170a1a0a0bad79 /internal/configfile/config_test.go | |
parent | f351c3c1ecf30bd88b9246d45ba39cd259047a3c (diff) |
cryptocore: prefetch nonces in the background
Spawn a worker goroutine that reads the next 512-byte block
while the current one is being drained.
This should help reduce waiting times when /dev/urandom is very
slow (like on Linux 3.16 kernels).
Diffstat (limited to 'internal/configfile/config_test.go')
0 files changed, 0 insertions, 0 deletions