Hi @kanalgovind,
My understading was that you tried a solution with CAAM black key/blob support.
Is using CAAM secure key mandatory for your use-case ?
To my knowedge the latest kernel version does not implement CMAC acceleration using CAAM.
Only AES CBC/CTR ... implementations. The driver could be easily extended to support CMAC.
-------
For your use-case I recommand using SECO HSM/SHE service.
There is an Application note describing how to write a simple application.
Also you can find API documentation here [2]
[1] https://www.nxp.com/docs/en/application-note/AN12906.pdf
[2] https://github.com/NXP/imx-seco-libs/tree/master/doc
-------
If having a inplementation for Linux Crypto API is a must we can discuss a timeframe to write a PoC code/demo for your use-case.
Regards
Maro