2022-06-23 01:59 AM
Hi, I need to implement certificate verification based on PKCS7. I use STM32CubeIDE build 12015_20220302_0855.
I have enabled the MBEDTLS middleware module and I see that some support for mbedTLS is added to the project, but PKCS7 seems to be missing.
Anything I can do, or is this simply unsupported?
2022-06-23 02:02 AM
"PKCS7 seems to be missing"
Could you expand on why you say that?
2022-06-23 02:07 AM
Well, Andrew, first I noticed there are some pkcs related include files, but only for pkcs5, 11, 12. None for 7. Eventually I grepped all the headers in the Middlewares folder in the project, and pkcs7 did not appear anywhere.
2022-06-23 02:36 AM
so is your code failing to build for lack of those headers?
2022-06-23 02:42 AM
Yes. I have a given algorithm which uses things like mbedtls_pkcs7_init(), and I cannot find the header file where this is defined.
2022-06-23 02:55 AM
Yes. I have a given algorithm which uses things like mbedtls_pkcs7_init(), and I cannot find the header file where this is defined.