diff --git a/wolfcrypt/src/wc_port.c b/wolfcrypt/src/wc_port.c index 9956da3c4..c769e2dcf 100644 --- a/wolfcrypt/src/wc_port.c +++ b/wolfcrypt/src/wc_port.c @@ -45,6 +45,11 @@ */ int wolfcrypt_Init() { + #if WOLFSSL_CRYPT_HW_MUTEX + /* If crypto hardware mutex protection is enabled, then initialize it */ + wolfSSL_CryptHwMutexInit(); + #endif + /* if defined have fast RSA then initialize Intel IPP */ #ifdef HAVE_FAST_RSA WOLFSSL_MSG("Setting up IPP Library");