diff options
author | 2008-06-14 00:12:21 +0000 | |
---|---|---|
committer | 2008-06-14 00:12:21 +0000 | |
commit | f1072292f20a1042da1ce908d169cf2110fe5565 (patch) | |
tree | 24282ec9047753c6671bcb974f034f052c1e1f94 /sys/dev/softraid.c | |
parent | friendly error message when key decryption fails; ok hshoexer@ (diff) | |
download | wireguard-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