mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-23 11:09:28 -05:00
CorePKCS11 Muthual Auth demo fix (#656)
This commit is contained in:
parent
aa1eed8b4e
commit
6c17a54685
2 changed files with 11 additions and 0 deletions
|
|
@ -193,4 +193,14 @@ extern void vLoggingPrintf( const char * pcFormatString,
|
||||||
*/
|
*/
|
||||||
#define pkcs11configLABEL_ROOT_CERTIFICATE ( "Root Cert" )
|
#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. */
|
#endif /* _CORE_PKCS11_CONFIG_H_ include guard. */
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,7 @@
|
||||||
#define MBEDTLS_THREADING_C
|
#define MBEDTLS_THREADING_C
|
||||||
#define MBEDTLS_X509_USE_C
|
#define MBEDTLS_X509_USE_C
|
||||||
#define MBEDTLS_X509_CRT_PARSE_C
|
#define MBEDTLS_X509_CRT_PARSE_C
|
||||||
|
#define MBEDTLS_CMAC_C
|
||||||
|
|
||||||
/* Set the memory allocation functions on FreeRTOS. */
|
/* Set the memory allocation functions on FreeRTOS. */
|
||||||
void * mbedtls_platform_calloc( size_t nmemb,
|
void * mbedtls_platform_calloc( size_t nmemb,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue