cancel
Showing results for 
Search instead for 
Did you mean: 

Support for mbedtls/PKCS7 on a Nucleo-F446RE board

NPlöt.1
Associate II

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?

This discussion is locked. Please start a new topic to ask your question.
5 REPLIES 5

"PKCS7 seems to be missing"

Could you expand on why you say that?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
NPlöt.1
Associate II

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.

so is your code failing to build for lack of those headers?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
NPlöt.1
Associate II

Yes. I have a given algorithm which uses things like mbedtls_pkcs7_init(), and I cannot find the header file where this is defined.

Yes. I have a given algorithm which uses things like mbedtls_pkcs7_init(), and I cannot find the header file where this is defined.