Home
last modified time | relevance | path

Searched refs:keyformat (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c188 validate_key(libzfs_handle_t *hdl, zfs_keyformat_t keyformat, in validate_key() argument
191 switch (keyformat) { in validate_key()
258 libzfs_getpassphrase(zfs_keyformat_t keyformat, boolean_t is_reenter, in libzfs_getpassphrase() argument
288 get_format_prompt_string(keyformat)); in libzfs_getpassphrase()
340 zfs_keyformat_t keyformat, boolean_t confirm_key, boolean_t newkey, in get_key_interactive() argument
350 if (keyformat == ZFS_KEYFORMAT_RAW) { in get_key_interactive()
358 if ((ret = libzfs_getpassphrase(keyformat, B_FALSE, newkey, fsname, in get_key_interactive()
369 if ((ret = validate_key(hdl, keyformat, buf, buflen)) != 0) { in get_key_interactive()
374 ret = libzfs_getpassphrase(keyformat, B_TRUE, newkey, fsname, &buf2, in get_key_interactive()
403 get_key_material_raw(FILE *fd, zfs_keyformat_t keyformat, in get_key_material_raw() argument
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_encrypted.ksh84 log_mustnot zfs create -o keyformat=passphrase $TESTPOOL/$TESTFS1/c1
86 log_mustnot zfs create -o keyformat=passphrase -o keylocation=prompt \
92 log_mustnot zfs create -o encryption=off -o keyformat=passphrase \
94 log_mustnot zfs create -o encryption=off -o keyformat=passphrase \
121 log_mustnot zfs create -o encryption=off -o keyformat=passphrase \
123 log_mustnot zfs create -o encryption=off -o keyformat=passphrase \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_encrypted.ksh68 log_mustnot zpool create -O keyformat=passphrase $TESTPOOL $DISKS
69 log_mustnot zpool create -O keyformat=passphrase -O keylocation=prompt \
77 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
79 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_all.ksh50 log_must zfs create -o encryption=on -o keyformat=passphrase \
53 log_must zfs create -V 64M -o encryption=on -o keyformat=passphrase \
57 log_must zpool create -O encryption=on -O keyformat=passphrase \
H A Dzfs_load-key_recursive.ksh49 log_must zfs create -o encryption=on -o keyformat=passphrase \
52 log_must zfs create -o keyformat=passphrase \
H A Dzfs_load-key_file.ksh48 log_must zfs create -o encryption=on -o keyformat=passphrase \
H A Dzfs_load-key_common.kshlib54 typeset fmt=$(get_prop keyformat $ds)
H A Dzfs_load-key_location.ksh58 log_must zfs create -o encryption=on -o keyformat=passphrase \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unload-key/
H A Dzfs_unload-key_all.ksh51 log_must zfs create -o encryption=on -o keyformat=passphrase \
55 log_must zfs create -V 64M -o encryption=on -o keyformat=passphrase \
59 log_must zpool create -O encryption=on -O keyformat=passphrase \
H A Dzfs_unload-key_recursive.ksh51 log_must zfs create -o encryption=on -o keyformat=passphrase \
53 log_must zfs create -o keyformat=passphrase \
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_change_key.c59 zfs_keyformat_t keyformat, dsl_crypto_params_t **dcpp) in zcp_synctask_change_key_create_params() argument
72 switch (keyformat) { in zcp_synctask_change_key_create_params()
105 (uint64_t)keyformat); in zcp_synctask_change_key_create_params()
H A Ddsl_crypt.c111 dsl_wrapping_key_create(uint8_t *wkeydata, zfs_keyformat_t keyformat, in dsl_wrapping_key_create() argument
135 wkey->wk_keyformat = keyformat; in dsl_wrapping_key_create()
155 uint64_t keyformat = ZFS_KEYFORMAT_NONE; in dsl_crypto_params_create_nvlist() local
177 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &keyformat); in dsl_crypto_params_create_nvlist()
209 if (keyformat >= ZFS_KEYFORMAT_FORMATS) { in dsl_crypto_params_create_nvlist()
237 ret = dsl_wrapping_key_create(wkeydata, keyformat, salt, in dsl_crypto_params_create_nvlist()
766 uint64_t keyformat, salt, iters; in spa_keystore_load_wkey() local
803 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), 8, 1, &keyformat); in spa_keystore_load_wkey()
817 ASSERT3U(keyformat, <, ZFS_KEYFORMAT_FORMATS); in spa_keystore_load_wkey()
818 ASSERT3U(keyformat, !=, ZFS_KEYFORMAT_NONE); in spa_keystore_load_wkey()
[all …]
H A Dzcp_synctask.c435 uint64_t keyformat; in zcp_synctask_change_key() local
448 &keyformat) != 0) in zcp_synctask_change_key()
451 err = zcp_synctask_change_key_create_params(key, keylen, keyformat, in zcp_synctask_change_key()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzcp_change_key.h35 zfs_keyformat_t keyformat, dsl_crypto_params_t **dcpp);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend_encrypted_props.ksh72 log_must zfs create -o encryption=on -o keyformat=passphrase \
75 log_must zfs create -o keyformat=passphrase -o keylocation=file://$keyfile \
H A Dsend_encrypted_freeobjects.ksh75 -o keyformat=passphrase -o keylocation=file://$keyfile $POOL/$sendds
H A Dsend_realloc_encrypted_files.ksh56 log_must zfs create -o encryption=on -o keyformat=passphrase \
H A Dsend_encrypted_files.ksh65 log_must zfs create -o encryption=on -o keyformat=passphrase \
H A Dsend_encrypted_truncated_files.ksh61 log_must zfs create -o encryption=on -o keyformat=passphrase \
H A Dsend-wDR_encrypted_zvol.ksh69 log_must zfs create -o dedup=on -o encryption=on -o keyformat=passphrase \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_load.ksh48 log_must zfs create -o encryption=on -o keyformat=passphrase \
H A Dzfs_change-key_location.ksh50 log_must zfs create -o encryption=on -o keyformat=passphrase \
H A Dzfs_change-key_pbkdf2iters.ksh62 log_must zfs create -o encryption=on -o keyformat=passphrase \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_keylocation.ksh63 log_must zfs create -o encryption=on -o keyformat=passphrase \