cryptsetup: port PKCS#11 code to read key file with read_full_file()
Now that we can read from offsets/with size, let's port the cryptsetup PKCS#11 key file logic over to read_full_file_full().
This commit is contained in:
@@ -636,6 +636,7 @@ static int attach_luks_or_plain_or_bitlk(
|
||||
bool processed = false;
|
||||
|
||||
r = decrypt_pkcs11_key(
|
||||
name,
|
||||
friendly,
|
||||
arg_pkcs11_uri,
|
||||
key_file, arg_keyfile_size, arg_keyfile_offset,
|
||||
|
||||
Reference in New Issue
Block a user