Merge pull request #6831 from miyazakh/renesas_tsip_fix

fix compile error due to rz port change
This commit is contained in:
Chris Conlon
2023-10-05 09:43:34 -06:00
committed by GitHub

View File

@ -36,6 +36,9 @@
#include <wolfssl/wolfcrypt/port/Renesas/renesas-tsip-crypt.h>
#define cmn_hw_lock tsip_hw_lock
#define cmn_hw_unlock tsip_hw_unlock
#define FSPSM_ST TsipUserCtx;
#define MAX_FSPSM_CBINDEX 5
#endif
#include <wolfssl/wolfcrypt/wc_port.h>
@ -57,6 +60,7 @@ static int gdevId = 7890; /* initial dev Id for Crypt Callback */
FSPSM_ST *gCbCtx[MAX_FSPSM_CBINDEX];
#elif defined(WOLFSSL_RENESAS_TSIP_TLS) || \
defined(WOLFSSL_RENESAS_TSIP_CRYPTONLY)
#define FSPSM_ST TsipUserCtx;
#define MAX_FSPSM_CBINDEX 5
TsipUserCtx *gCbCtx[MAX_FSPSM_CBINDEX];
#endif