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

- From: Richard Weinberger \<hidden\>
- Date: 2021-03-30 21:51:50 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2021/03/6321840
- Thread: https://ratatoskr.run/linux-integrity/2021/03/6303556/t.md

```text
Ahmad,

On Wed, Mar 17, 2021 at 3:08 PM Ahmad Fatoum [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
```
