mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-09 13:15:15 -05:00
Add variable PKCS11 label support to using_mbedtls_pkcs11 (#723)
The previous "using_mbedtls_pkcs11.c" implementation requires using the device key and device certificate stored under the labels "pkcs11configLABEL_DEVICE_PRIVATE_KEY_FOR_TLS" and "pkcs11configLABEL_DEVICE_CERTIFICATE_FOR_TLS". This commit updates the NetworkCredentials to include fields for pClientCertLabel and pPrivateKeyLabel, so other labels can be used with PKCS11. This matches the behavior seen in the CSDK. This commit also updates the "pkcs11_mqtt_mutual_auth_demo" to set the newly-added NetworkCredentials fields.
This commit is contained in:
parent
d2329791aa
commit
b1b3a0a3e9
4 changed files with 64 additions and 14 deletions
|
|
@ -1524,6 +1524,7 @@ pcks
|
|||
pcl
|
||||
pclabelname
|
||||
pclientcert
|
||||
pclientcertlabel
|
||||
pclk
|
||||
pclkb
|
||||
pclwipappsblockinggettxbuffer
|
||||
|
|
@ -1693,6 +1694,7 @@ ppcmessagetodisplay
|
|||
ppollperiod
|
||||
ppr
|
||||
pprivatekey
|
||||
pprivatekeylabel
|
||||
ppublishinfo
|
||||
ppvcontext
|
||||
ppxidletaskstackbuffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue