blk-crypto: export wrapped key functions
authorEric Biggers <ebiggers@google.com>
Thu, 1 May 2025 21:23:19 +0000 (14:23 -0700)
committerMikulas Patocka <mpatocka@redhat.com>
Tue, 6 May 2025 17:08:08 +0000 (19:08 +0200)
commit025e138eeb752ae19e8eb0144d9f7cc87d579b45
tree9bc5d2d37797f1123f9d25ad2f8f66fb37ce3156
parentb7c18b17a173087ce97e809cefd55e581121f19e
blk-crypto: export wrapped key functions

Export blk_crypto_derive_sw_secret(), blk_crypto_import_key(),
blk_crypto_generate_key(), and blk_crypto_prepare_key() so that they can
be used by device-mapper when passing through wrapped key support.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
block/blk-crypto-profile.c