mirror_zfs/tests/zfs-tests
patrickxia e1a6ec42d4 zdb: add ZFS_KEYFORMAT_RAW support for -K option
This change adds support for ZFS_KEYFORMAT_RAW to zdb_derive_key in 
zdb.c. The implementation reads the raw key from the file specified 
by the -K option which is consistent with how raw keys are handled in 
the other parts of ZFS, along with a check to ensure that the keyfile 
doesn't have too many bytes.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Patrick Xia <patrickx@google.com>
Closes #17783
2025-09-25 12:08:20 -07:00
..
callbacks ZTS: include microsecond timestamps on all output 2025-08-06 09:44:49 -07:00
cmd Fix the build of crypto_test on LP32 architectures 2025-09-10 15:01:37 -07:00
include ZTS: default to random data in fill_fs 2025-09-15 12:43:52 -07:00
tests zdb: add ZFS_KEYFORMAT_RAW support for -K option 2025-09-25 12:08:20 -07:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00