aboutsummaryrefslogtreecommitdiff
path: root/internal/stupidgcm/benchmark.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-06-11 19:56:59 +0200
committerJakob Unterwurzacher2017-06-11 21:29:50 +0200
commit9837cb0ddc5c38af9916a2a6a580092caf952e59 (patch)
treef699a605b9c60d1a1f24ea8c6b170a1a0a0bad79 /internal/stupidgcm/benchmark.bash
parentf351c3c1ecf30bd88b9246d45ba39cd259047a3c (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/stupidgcm/benchmark.bash')
0 files changed, 0 insertions, 0 deletions