[RFC PATCH 8/9] KEYS: keycrypt: Add the CAAM backend

sashiko-bot at kernel.org sashiko-bot at kernel.org
Wed Nov 18 14:36:41 UTC 2026


> Add "caam", a backend of the engine tier for NXP SoCs with a CAAM:
> once sealed, its keys exist outside the CAAM only as black blobs and
> black keys, used through the CAAM's internal cbc(paes); a new key is
> drawn in kernel memory and sealed at once. Each blob is encapsulated
> with a key modifier derived from the blob's header, so a blob whose
> metadata was changed does not open, and the blobs of the public
> cbc(paes) and of trusted "pk" keys, made with another key modifier, do
> not load.
> 
> This is a proposal for owners of CAAM hardware to try, not to be
> applied as is: it has not been run on hardware, and the CAAM does not
> check what a key is used for, which is why its tier is engine. Only
> aes256-cbc is offered, with ECB-encrypted black keys, since the
> driver's cbc(paes), with Richard Weinberger's paes fixes, refuses
> CCM ones.
> 
> With it comes its section of the documentation.
> 
> Signed-off-by: Rodolfo Giometti <giometti at enneenne.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261118140421.584086-1-giometti@enneenne.com?part=8




More information about the Linux-security-module-archive mailing list