Crypto: Fix crypto init for any legacy driver

Change-Id: I5192c8e8cb1edaae38ed852f53906a24b3c71553
Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
diff --git a/secure_fw/partitions/crypto/crypto_init.c b/secure_fw/partitions/crypto/crypto_init.c
index 8c115c8..da20896 100644
--- a/secure_fw/partitions/crypto/crypto_init.c
+++ b/secure_fw/partitions/crypto/crypto_init.c
@@ -277,7 +277,7 @@
      * performed directly through psa_crypto_init() while the PSA subsystem is
      * initialised
      */
-#if defined(CRYPTO_HW_ACCELERATOR) && defined(CC312_LEGACY_DRIVER_API_ENABLED)
+#if defined(CRYPTO_HW_ACCELERATOR) && defined(LEGACY_DRIVER_API_ENABLED)
     LOG_INFFMT("[INF][Crypto] Initialising HW accelerator... ");
     if (crypto_hw_accelerator_init() != 0) {
         return PSA_ERROR_HARDWARE_FAILURE;