aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/PAL/cfg-stm32l476_discovery
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/multi/PAL/cfg-stm32l476_discovery')
-rw-r--r--testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h
index 63edfac75..5aec384f3 100644
--- a/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h
+++ b/testhal/STM32/multi/PAL/cfg-stm32l476_discovery/halconf.h
@@ -52,6 +52,13 @@
#endif
/**
+ * @brief Enables the cryptographic subsystem.
+ */
+#if !defined(HAL_USE_CRY) || defined(__DOXYGEN__)
+#define HAL_USE_CRY FALSE
+#endif
+
+/**
* @brief Enables the DAC subsystem.
*/
#if !defined(HAL_USE_DAC) || defined(__DOXYGEN__)
@@ -209,6 +216,28 @@
#endif
/*===========================================================================*/
+/* CRY driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables the SW fall-back of the cryptographic driver.
+ * @details When enabled, this option, activates a fall-back software
+ * implementation for algorithms not supported by the underlying
+ * hardware.
+ * @note Fall-back implementations may not be present for all algorithms.
+ */
+#if !defined(HAL_CRY_USE_FALLBACK) || defined(__DOXYGEN__)
+#define HAL_CRY_USE_FALLBACK FALSE
+#endif
+
+/**
+ * @brief Makes the driver forcibly use the fall-back implementations.
+ */
+#if !defined(HAL_CRY_ENFORCE_FALLBACK) || defined(__DOXYGEN__)
+#define HAL_CRY_ENFORCE_FALLBACK FALSE
+#endif
+
+/*===========================================================================*/
/* I2C driver related settings. */
/*===========================================================================*/