summaryrefslogtreecommitdiff
path: root/sys/dev/softraidvar.h
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-09 11:57:34 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-09 11:57:34 +0000
commitf4171802e8cbc5e9e0c04c1bd14906cdf3b82abf (patch)
treee7170898620278ffb186c379e060755043a3dfa3 /sys/dev/softraidvar.h
parent5e065c779e48d10afeaf7c00e7fe38d7bdd06ae8 (diff)
Provide a mechanism for the kernel to directly pass a mask key through to
a crypto volume when it is assembling it.
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r--sys/dev/softraidvar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h
index 0def3f1db9e..ab02802e899 100644
--- a/sys/dev/softraidvar.h
+++ b/sys/dev/softraidvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraidvar.h,v 1.117 2012/10/08 14:22:41 jsing Exp $ */
+/* $OpenBSD: softraidvar.h,v 1.118 2012/10/09 11:57:33 jsing Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -254,7 +254,7 @@ struct sr_aoe_config {
struct sr_boot_chunk {
struct sr_metadata *sbc_metadata;
- dev_t sbc_mm;
+ dev_t sbc_mm; /* Device major/minor. */
u_int32_t sbc_chunk_id; /* Chunk ID. */
u_int32_t sbc_state; /* Chunk state. */
@@ -332,6 +332,9 @@ extern u_int32_t sr_debug;
#define SR_VM_IGNORE_DIRTY 1
#define SR_REBUILD_IO_SIZE 128 /* blocks */
+extern struct sr_uuid sr_bootuuid;
+extern u_int8_t sr_bootkey[SR_CRYPTO_MAXKEYBYTES];
+
/* forward define to prevent dependency goo */
struct sr_softc;