# Re: \[PATCH v1 0/3\] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

- From: Richard Weinberger \<richard@nod.at\>
- Date: 2021-04-01 10:28:40 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2021/04/6323805
- Thread: https://ratatoskr.run/linux-integrity/2021/03/6303556/t.md

```text
Ahmad,

----- Ursprüngliche Mail -----
> Von: "Ahmad Fatoum" [ref]
>> I'm pretty sure with minimal changes it will work with your recent approach too.
> 
> I am using dmsetup directly in my project. I am not familiar with cryptsetup
> plain. What benefits do you see with this over direct dmsetup?

cryptsetup is the de-facto standard to setup encrypted block devices.
There is a lot of existing tooling around cryptsetup already (systemd, etc..),
so being able to use CAAM keys for dm-crypt with cryptsetup seems natural to me.
Plain mode allows setting up dm-crypt without LUKS.

Thanks,
//richard
```
