Ahmad,
On Wed, Mar 17, 2021 at 3:08 PM Ahmad Fatoum [off-list ref] wrote:
TABLE="0 $BLOCKS crypt $ALGO :32:trusted:$KEYNAME 0 $DEV 0 1 allow_discards"
echo $TABLE | dmsetup create mydev
echo $TABLE | dmsetup load mydev
Do you also plan to add support for this to cryptsetup?
David and I have added (rough) support for our CAAM/DCP based keyrings
to cryptsetup:
https://github.com/sigma-star/cryptsetup/tree/rw/plain
I'm pretty sure with minimal changes it will work with your recent approach too.
--
Thanks,
//richard