diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2008-02-17 20:39:23 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2008-02-17 20:39:23 +0000 |
commit | 038d15642d7b31314c5239d5b808eaf73075f0aa (patch) | |
tree | df02570d42439fe12082ead0c17f3f23bc92ae23 /sys/dev/softraidvar.h | |
parent | 6db56940279e7a6e3351ea37a2347697f3b3c552 (diff) |
Add propper key encryption.
ok marco@
Diffstat (limited to 'sys/dev/softraidvar.h')
-rw-r--r-- | sys/dev/softraidvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraidvar.h b/sys/dev/softraidvar.h index 69af7cc8e7b..c04cca9db0f 100644 --- a/sys/dev/softraidvar.h +++ b/sys/dev/softraidvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: softraidvar.h,v 1.46 2008/02/15 05:29:25 ckuethe Exp $ */ +/* $OpenBSD: softraidvar.h,v 1.47 2008/02/17 20:39:22 hshoexer Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -139,6 +139,7 @@ struct sr_raid1 { #define SR_CRYPTO_KEYBITS 256 #define SR_CRYPTO_KEYBYTES (SR_CRYPTO_KEYBITS >> 3) #define SR_CRYPTO_ROUNDS 14 +#define SR_CRYPTO_PBKDF2_ROUNDS 20000 struct sr_crypto_metadata { u_int32_t scm_flags; |