diff options
author | Eric Biggers <ebiggers@google.com> | 2025-02-03 22:00:36 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-02-10 09:54:19 -0700 |
commit | e35fde43e25ad725d27315992fba8088d1210b01 (patch) | |
tree | 506e84578ffd3001ae8a44318d74cf5dbc88c09c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ebc4176551cdd021d02f4d2ed734e7b65e44442a (diff) |
blk-crypto: show supported key types in sysfs
Add sysfs files that indicate which type(s) of keys are supported by the
inline encryption hardware associated with a particular request queue:
/sys/block/$disk/queue/crypto/hw_wrapped_keys
/sys/block/$disk/queue/crypto/raw_keys
Userspace can use the presence or absence of these files to decide what
encyption settings to use.
Don't use a single key_type file, as devices might support both key
types at the same time.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Tested-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> # sm8650
Link: https://lore.kernel.org/r/20250204060041.409950-3-ebiggers@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions