Mbedtls wolfssl CAAM implementation

Hello,

I have following two use case to be implemented using IMXRT1170 CAAM module.

Compute the signature of the string using the specified key, with hash algorithm SHA256 (output as ASCII), signing algorithm ECCP256.ECC.

Generate a PKCS7 envelope by using signature and specified certificate, using openssl with the s/mime option

Please let me know CAAM/mbedtls/wolfssl APIs that I can use to implement the above.

Best Regards
Mayank