summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-02-01 19:22:30 +0000
committerderaadt <deraadt@openbsd.org>2004-02-01 19:22:30 +0000
commitc9d6b72888ce0963724e680ffb2d7ea74a762f0b (patch)
treef25c3ea0947eee22a9aa8bca19472eb77d3b8915 /lib/libc
parentuse VIA xstore-rng and xcrypt-* instructions, now that gas groks them (diff)
downloadwireguard-openbsd-c9d6b72888ce0963724e680ffb2d7ea74a762f0b.tar.xz
wireguard-openbsd-c9d6b72888ce0963724e680ffb2d7ea74a762f0b.zip
Use "pushfl; popfl" sequence before each xcrypt-* instruction. According
to the manual, any load into the EFLAGS register clears bit 30, resulting in key reload. This is the mechanism that permits multi-process use of the xcrypt-* instruction..
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions