Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c203 validate_key(libzfs_handle_t *hdl, zfs_keyformat_t keyformat, in validate_key() argument
206 switch (keyformat) { in validate_key()
278 libzfs_getpassphrase(zfs_keyformat_t keyformat, boolean_t is_reenter, in libzfs_getpassphrase() argument
308 get_format_prompt_string(keyformat)); in libzfs_getpassphrase()
360 zfs_keyformat_t keyformat, boolean_t confirm_key, boolean_t newkey, in get_key_interactive() argument
370 if (keyformat == ZFS_KEYFORMAT_RAW) { in get_key_interactive()
378 if ((ret = libzfs_getpassphrase(keyformat, B_FALSE, newkey, fsname, in get_key_interactive()
389 if ((ret = validate_key(hdl, keyformat, buf, buflen, confirm_key)) != in get_key_interactive()
395 ret = libzfs_getpassphrase(keyformat, B_TRUE, newkey, fsname, &buf2, in get_key_interactive()
424 get_key_material_raw(FILE *fd, zfs_keyformat_t keyformat, in get_key_material_raw() argument
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_https.ksh50 log_mustnot zfs create -o encryption=on -o keyformat=passphrase \
53 log_mustnot zfs create -o encryption=on -o keyformat=passphrase \
56 log_mustnot zfs create -o encryption=on -o keyformat=passphrase \
59 log_must zfs create -o encryption=on -o keyformat=passphrase \
62 log_must zfs create -o encryption=on -o keyformat=hex \
65 log_must zfs create -o encryption=on -o keyformat=raw \
H A Dzfs_load-key_all.ksh50 log_must zfs create -o encryption=on -o keyformat=passphrase \
53 log_must zfs create -o encryption=on -o keyformat=passphrase \
56 log_must zfs create -V 64M -o encryption=on -o keyformat=passphrase \
61 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 \
55 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_location.ksh58 log_must zfs create -o encryption=on -o keyformat=passphrase \
H A Dzfs_load-key_common.kshlib52 typeset fmt=$(get_prop keyformat $ds)
/freebsd/sys/contrib/openzfs/tests/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 \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_encrypted.ksh69 log_mustnot zpool create -O keyformat=passphrase $TESTPOOL $DISKS
70 log_mustnot zpool create -O keyformat=passphrase -O keylocation=prompt \
78 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
80 log_mustnot zpool create -O encryption=off -O keyformat=passphrase \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/
H A Dzfs_unload-key_all.ksh50 log_must zfs create -o encryption=on -o keyformat=passphrase \
54 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 \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_-wR-encrypted-mix.ksh62 create_dataset "$src" -o encryption=on -o keyformat=passphrase
65 create_dataset "$src/u/e" -o encryption=on -o keyformat=passphrase
/freebsd/crypto/openssl/apps/
H A Drsautl.c84 int keyformat = FORMAT_UNDEF, keysize, ret = 1, rv; in rsautl_main() local
101 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyformat)) in rsautl_main()
191 pkey = load_key(keyfile, keyformat, 0, passin, e, "private key"); in rsautl_main()
195 pkey = load_pubkey(keyfile, keyformat, 0, NULL, e, "public key"); in rsautl_main()
H A Dspkac.c73 int keyformat = FORMAT_UNDEF; in spkac_main() local
110 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyformat)) in spkac_main()
150 keyformat, 1, passin, e, "private key"); in spkac_main()
H A Dcrl.c92 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyformat = FORMAT_UNDEF; in crl_main() local
128 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyformat)) in crl_main()
268 pkey = load_key(keyfile, keyformat, 0, NULL, NULL, "CRL signing key"); in crl_main()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c111 dsl_wrapping_key_create(uint8_t *wkeydata, zfs_keyformat_t keyformat, in dsl_wrapping_key_create() argument
127 wkey->wk_keyformat = keyformat; in dsl_wrapping_key_create()
140 uint64_t keyformat = ZFS_KEYFORMAT_NONE; in dsl_crypto_params_create_nvlist() local
156 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &keyformat); in dsl_crypto_params_create_nvlist()
189 if (keyformat >= ZFS_KEYFORMAT_FORMATS) { in dsl_crypto_params_create_nvlist()
217 dsl_wrapping_key_create(wkeydata, keyformat, salt, in dsl_crypto_params_create_nvlist()
779 uint64_t rddobj, keyformat, salt, iters; in spa_keystore_load_wkey() local
825 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), 8, 1, &keyformat); in spa_keystore_load_wkey()
839 ASSERT3U(keyformat, <, ZFS_KEYFORMAT_FORMATS); in spa_keystore_load_wkey()
840 ASSERT3U(keyformat, !=, ZFS_KEYFORMAT_NONE); in spa_keystore_load_wkey()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/pam/
H A Dsetup.ksh36 echo "testpass" | zfs create -o encryption=aes-256-gcm -o keyformat=passphrase -o keylocation=promp…
H A Dpam_recursive.ksh35 echo "recurpass" | zfs create -o encryption=aes-256-gcm -o keyformat=passphrase \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_encrypted_props.ksh71 log_must zfs create -o encryption=on -o keyformat=passphrase \
74 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_encrypted_incremental.ksh70 log_must zfs create -o encryption=on -o keyformat=passphrase \
/freebsd/sys/contrib/openzfs/tests/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 \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_status/
H A Dzpool_status_005_pos.ksh65 log_must zfs create -o encryption=aes-256-ccm -o keyformat=passphrase \

12