diff options
author | phk <phk@FreeBSD.org> | 2002-10-30 22:13:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-30 22:13:54 +0000 |
commit | c82a18684b801b3530c2aa66663d3c3890cb39e1 (patch) | |
tree | e6393157b912853c222c12f9fdb7003f3fa471d3 /sys/geom/bde/g_bde.h | |
parent | 179f0b4ddce18994986f9284913026682d90122b (diff) | |
download | FreeBSD-src-c82a18684b801b3530c2aa66663d3c3890cb39e1.zip FreeBSD-src-c82a18684b801b3530c2aa66663d3c3890cb39e1.tar.gz |
Change the kkey generation cherry-picker to use MD5.
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom/bde/g_bde.h')
-rw-r--r-- | sys/geom/bde/g_bde.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/geom/bde/g_bde.h b/sys/geom/bde/g_bde.h index 016db7b..6354411 100644 --- a/sys/geom/bde/g_bde.h +++ b/sys/geom/bde/g_bde.h @@ -93,8 +93,9 @@ struct g_bde_key { uint32_t flags; /* 1 = lockfile in sector 0 */ uint8_t hash[16]; - uint8_t spare[48]; - uint8_t key[G_BDE_MKEYLEN]; + uint8_t salt[16]; + uint8_t spare[32]; + uint8_t mkey[G_BDE_MKEYLEN]; /* Non-stored help-fields */ uint64_t zone_width; /* On-disk width of zone */ uint64_t zone_cont; /* Payload width of zone */ |