cryptsetup: port PKCS#11 code to read key file with read_full_file()
authorLennart Poettering <lennart@poettering.net>
Wed, 4 Nov 2020 16:22:39 +0000 (17:22 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Dec 2020 13:17:47 +0000 (14:17 +0100)
commit4d1bb8f39702630c52d6b3599e4fc96ee31b84aa
treee7a67c9bcfe3ed3f67a97b9d5343fa1f49ed9f14
parent986311c2da873ea24ee05e59e97c60f5584e4226
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().
src/cryptsetup/cryptsetup-pkcs11.c
src/cryptsetup/cryptsetup-pkcs11.h
src/cryptsetup/cryptsetup.c