/freebsd/sys/contrib/openzfs/lib/libzfs_core/ |
H A D | libzfs_core.c | 259 uint8_t *wkeydata, uint_t wkeylen) in lzc_create() argument 269 if (wkeydata != NULL) { in lzc_create() 271 fnvlist_add_uint8_array(hidden_args, "wkeydata", wkeydata, in lzc_create() 1003 uint8_t *wkeydata, uint_t wkeylen, const char *origin, boolean_t force, in recv_impl() argument 1059 if (resumable || heal || raw || wkeydata != NULL || payload) { in recv_impl() 1071 if (wkeydata != NULL) { in recv_impl() 1079 wkeydata, wkeylen); in recv_impl() 1284 nvlist_t *cmdprops, uint8_t *wkeydata, uint_t wkeylen, const char *origin, in lzc_receive_with_cmdprops() argument 1291 return (recv_impl(snapname, props, cmdprops, wkeydata, wkeylen, origin, in lzc_receive_with_cmdprops() 1304 nvlist_t *cmdprops, uint8_t *wkeydata, uint_t wkeylen, const char *origin, in lzc_receive_with_heal() argument [all …]
|
H A D | libzfs_core.abi | 2832 <parameter type-id='ae3e8ca6' name='wkeydata'/> 3014 <parameter type-id='ae3e8ca6' name='wkeydata'/> 3033 <parameter type-id='ae3e8ca6' name='wkeydata'/> 3127 <parameter type-id='ae3e8ca6' name='wkeydata'/> 3139 <parameter type-id='ae3e8ca6' name='wkeydata'/>
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_crypto.c | 853 const char *keylocation, nvlist_t *props, uint8_t **wkeydata, in populate_create_encryption_params_nvlists() argument 926 *wkeydata = key_data; in populate_create_encryption_params_nvlists() 936 *wkeydata = NULL; in populate_create_encryption_params_nvlists() 1013 uint8_t *wkeydata = NULL; in zfs_crypto_create() local 1150 B_TRUE, keyformat, keylocation, props, &wkeydata, in zfs_crypto_create() 1159 *wkeydata_out = wkeydata; in zfs_crypto_create() 1166 if (wkeydata != NULL) in zfs_crypto_create() 1167 free(wkeydata); in zfs_crypto_create() 1593 uint8_t *wkeydata = NULL; in zfs_crypto_rewrap() local 1720 zhp, B_TRUE, keyformat, keylocation, props, &wkeydata, in zfs_crypto_rewrap() [all …]
|
H A D | libzfs_pool.c | 1514 uint8_t *wkeydata = NULL; in zpool_create() local 1564 &wkeydata, &wkeylen) != 0) { in zpool_create() 1572 if (wkeydata != NULL) { in zpool_create() 1577 wkeydata, wkeylen) != 0) in zpool_create() 1597 if (wkeydata != NULL) in zpool_create() 1598 free(wkeydata); in zpool_create() 1676 if (wkeydata != NULL) in zpool_create() 1677 free(wkeydata); in zpool_create()
|
H A D | libzfs_dataset.c | 3730 uint8_t *wkeydata = NULL; in zfs_create() local 3837 &wkeydata, &wkeylen) != 0) { in zfs_create() 3843 ret = lzc_create(path, ost, props, wkeydata, wkeylen); in zfs_create() 3845 if (wkeydata != NULL) in zfs_create() 3846 free(wkeydata); in zfs_create()
|
H A D | libzfs_sendrecv.c | 4441 uint8_t *wkeydata = NULL; in zfs_receive_one() local 4990 &oxprops, &wkeydata, &wkeylen, errbuf)) != 0) in zfs_receive_one() 5033 oxprops, wkeydata, wkeylen, origin, flags->force, in zfs_receive_one() 5038 oxprops, wkeydata, wkeylen, origin, flags->force, in zfs_receive_one()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dsl_crypt.c | 111 dsl_wrapping_key_create(uint8_t *wkeydata, zfs_keyformat_t keyformat, in dsl_wrapping_key_create() argument 123 memcpy(wkey->wk_key.ck_data, wkeydata, WRAPPING_KEY_LEN); in dsl_wrapping_key_create() 144 uint8_t *wkeydata = NULL; in dsl_crypto_params_create_nvlist() local 169 &wkeydata, &wkeydata_len); in dsl_crypto_params_create_nvlist() 205 if (wkeydata != NULL && wkeydata_len != WRAPPING_KEY_LEN) { in dsl_crypto_params_create_nvlist() 215 if (wkeydata != NULL) { in dsl_crypto_params_create_nvlist() 217 dsl_wrapping_key_create(wkeydata, keyformat, salt, in dsl_crypto_params_create_nvlist()
|