summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2008-06-14 00:12:21 +0000
committerdjm <djm@openbsd.org>2008-06-14 00:12:21 +0000
commitf1072292f20a1042da1ce908d169cf2110fe5565 (patch)
tree24282ec9047753c6671bcb974f034f052c1e1f94 /sys/dev/softraid.c
parentfriendly error message when key decryption fails; ok hshoexer@ (diff)
downloadwireguard-openbsd-f1072292f20a1042da1ce908d169cf2110fe5565.tar.xz
wireguard-openbsd-f1072292f20a1042da1ce908d169cf2110fe5565.zip
implement a check code to determine whether the disk keys have
been correctly decrypted using the masking key. The check code is a HMAC-SHA1 over the disk keys using a hash of the masking key. It should be slow enough to provide no useful brute force success oracle and should not leak significant data about the masking key or disk keys. ok hshoexer@ marco@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions