summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tempnam.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-03-23 09:36:25 +0000
committerdlg <dlg@openbsd.org>2015-03-23 09:36:25 +0000
commit08eef1f27acac7f50229bbf7e098d60a720e9b86 (patch)
tree72c318ccafdcafafeb7120b5496c0b6612e87ec1 /lib/libc/stdio/tempnam.c
parentConvert to if_input(), tested by jsg@, thanks! (diff)
downloadwireguard-openbsd-08eef1f27acac7f50229bbf7e098d60a720e9b86.tar.xz
wireguard-openbsd-08eef1f27acac7f50229bbf7e098d60a720e9b86.zip
obfuscate the monotonic clock values we put on the wire by offsetting
them with a random value. picking between ^ and +- as the operator for the obfuscation has turned out to be a great bikeshed. im picking + and - cos it prevents observers seeing high bits roll over which can indicate the magnitude of the current clock value. discussed with many.
Diffstat (limited to 'lib/libc/stdio/tempnam.c')
0 files changed, 0 insertions, 0 deletions