From 038d15642d7b31314c5239d5b808eaf73075f0aa Mon Sep 17 00:00:00 2001 From: Hans-Joerg Hoexer Date: Sun, 17 Feb 2008 20:39:23 +0000 Subject: Add propper key encryption. ok marco@ --- sys/dev/softraidvar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/softraidvar.h') 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 * Copyright (c) 2008 Chris Kuethe @@ -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; -- cgit v1.2.3