CorePKCS11 Muthual Auth demo fix (#656)

This commit is contained in:
Shivangi 2021-07-19 17:23:17 -07:00 committed by GitHub
parent aa1eed8b4e
commit 6c17a54685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -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. */

View file

@ -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,