[PATCH v2 00/15] Add CAAM driver model support

Tim Harvey tharvey at gateworks.com
Fri Sep 24 01:01:59 CEST 2021


On Fri, Sep 3, 2021 at 12:04 AM Gaurav Jain <gaurav.jain at nxp.com> wrote:
>
> This patchset adds the support for following:
> 1) CAAM Driver model for all i.MX, layerscape, PPC platforms.
> 2) Added crypto node in device tree files.
> 3) CAAM support for blob key encryption key(bkek), random number generation.
> 4) fixed hwrng performance issue in kernel.
>
> i.MX platforms:
> i.MX6, i.MX7, i.MX7ULP, i.MX8MM/MN/MP/MQ, i.MX8QM/QXP
>
> Layerscape platforms:
> LS1021, LS1012, LS1028, LS1043, LS1046, LS1088, LS2088, LX2160, LX2162
>
> Powerpc platforms:
> P3041, P4080, P5040, P2041, T1024, T1042, T2080, T4240
>
> Gaurav Jain (14):
>   crypto/fsl: Add support for CAAM Job ring driver model
>   crypto/fsl: Add CAAM support for bkek, random number generation
>   i.MX8M: crypto: updated device tree for supporting DM in SPL
>   crypto/fsl: i.MX8M: Enable Job ring driver model in SPL and U-Boot.
>   i.MX6: Enable Job ring driver model in U-Boot.
>   i.MX7: Enable Job ring driver model in U-Boot.
>   i.MX7ULP: Enable Job ring driver model in U-Boot.
>   i.MX8: Add crypto node in device tree
>   crypto/fsl: i.MX8: Enable Job ring driver model in SPL and U-Boot.
>   Layerscape: Add crypto node in device tree
>   Layerscape: Enable Job ring driver model in U-Boot.
>   PPC: Add crypto node in device tree
>   PPC: Enable Job ring driver model in U-Boot
>   update CAAM MAINTAINER
>
> Ye Li (1):
>   crypto/fsl: Fix kick_trng
>

Gaurav,

I am interested in seeing support added to provide a command to
blob/deblob data using CAAM. Peng submitted previously a patch
'crypto: caam: Add fsl caam driver' [1] which was not merged because
it was adding a new CAAM driver instead of adding functionality to the
existing one. Peng's patch added driver support and added a 'caam'
command to allow 'caam genblob' and 'caam decap'.

If that is what you are trying to do in this series I see you add a
function derive_blob_kek but it appears to be not used anywhere. Were
you going to also add a command or add this to the 'dek_blob' command?

Best regards,

Tim

[1] https://patchwork.ozlabs.org/project/uboot/patch/20210325093036.3270101-32-peng.fan@oss.nxp.com/


More information about the U-Boot mailing list