Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/sys/fs/zfs.h
Show First 20 Lines • Show All 448 Lines • ▼ Show 20 Lines | typedef enum zfs_keyformat { | ||||
ZFS_KEYFORMAT_PASSPHRASE, | ZFS_KEYFORMAT_PASSPHRASE, | ||||
ZFS_KEYFORMAT_FORMATS | ZFS_KEYFORMAT_FORMATS | ||||
} zfs_keyformat_t; | } zfs_keyformat_t; | ||||
typedef enum zfs_key_location { | typedef enum zfs_key_location { | ||||
ZFS_KEYLOCATION_NONE = 0, | ZFS_KEYLOCATION_NONE = 0, | ||||
ZFS_KEYLOCATION_PROMPT, | ZFS_KEYLOCATION_PROMPT, | ||||
ZFS_KEYLOCATION_URI, | ZFS_KEYLOCATION_URI, | ||||
/* This is used by PAM */ | |||||
ZFS_KEYLOCATION_DIRECT, | |||||
ZFS_KEYLOCATION_LOCATIONS | ZFS_KEYLOCATION_LOCATIONS | ||||
} zfs_keylocation_t; | } zfs_keylocation_t; | ||||
#define DEFAULT_PBKDF2_ITERATIONS 350000 | #define DEFAULT_PBKDF2_ITERATIONS 350000 | ||||
#define MIN_PBKDF2_ITERATIONS 100000 | #define MIN_PBKDF2_ITERATIONS 100000 | ||||
/* | /* | ||||
* On-disk version number. | * On-disk version number. | ||||
▲ Show 20 Lines • Show All 1,200 Lines • Show Last 20 Lines |