diff --git a/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/core_pkcs11_config.h b/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/core_pkcs11_config.h index c8f89bb5f4..1d99a638b4 100644 --- a/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/core_pkcs11_config.h +++ b/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/core_pkcs11_config.h @@ -193,4 +193,14 @@ extern void vLoggingPrintf( const char * pcFormatString, */ #define pkcs11configLABEL_ROOT_CERTIFICATE ( "Root Cert" ) +/** + * @brief The PKCS #11 label for the object to be used for HMAC operations. + */ +#define pkcs11configLABEL_HMAC_KEY "HMAC Key" + + /** + * @brief The PKCS #11 label for the object to be used for CMAC operations. + */ +#define pkcs11configLABEL_CMAC_KEY "CMAC Key" + #endif /* _CORE_PKCS11_CONFIG_H_ include guard. */ diff --git a/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/mbedtls_config.h b/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/mbedtls_config.h index e0a10fb90e..f220038252 100644 --- a/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/mbedtls_config.h +++ b/FreeRTOS-Plus/Demo/corePKCS11_MQTT_Mutual_Auth_Windows_Simulator/mbedtls_config.h @@ -107,6 +107,7 @@ #define MBEDTLS_THREADING_C #define MBEDTLS_X509_USE_C #define MBEDTLS_X509_CRT_PARSE_C +#define MBEDTLS_CMAC_C /* Set the memory allocation functions on FreeRTOS. */ void * mbedtls_platform_calloc( size_t nmemb,