FreeRTOS-Kernel/FreeRTOS-Plus/Source/Application-Protocols/network_transport
johnrhen b1b3a0a3e9
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.
2021-11-26 10:49:59 -08:00
..
sockets_wrapper [AUTO][RELEASE]: Bump file header version to "202111.00" 2021-11-13 02:37:14 +00:00
using_mbedtls Remove using_mbedtls folder and move its content to the parent folder (#717) 2021-11-18 13:23:41 -08:00
using_mbedtls_pkcs11 Add variable PKCS11 label support to using_mbedtls_pkcs11 (#723) 2021-11-26 10:49:59 -08:00
using_plaintext Remove using_mbedtls folder and move its content to the parent folder (#717) 2021-11-18 13:23:41 -08:00
using_wolfSSL Remove using_mbedtls folder and move its content to the parent folder (#717) 2021-11-18 13:23:41 -08:00
readme.txt Restructure platform directory (#382) 2020-11-05 16:47:43 -08:00

Building a network transport implementation:

1. Go into the sub directory for the TCP/IP stack you are using (e.g. freertos_plus_tcp).
2. Build the wrapper file located in the directory (i.e. sockets_wrapper.c).
3. Select an additional folder based on the TLS stack you are using (e.g. using_mbedtls), or the using_plaintext folder if not using TLS.
4. Build and include all files from the selected folder.