aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c')
-rw-r--r--os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c
index f8d9124db..0efed73b0 100644
--- a/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c
+++ b/os/hal/ports/SAMA/LLD/CRYPTOv1/sama_aes_lld.c
@@ -14,6 +14,9 @@
limitations under the License.
*/
#include "hal.h"
+
+#if (HAL_USE_CRY == TRUE) || defined(__DOXYGEN__)
+
#include "sama_crypto_lld.h"
void sama_aes_lld_write_key(const uint32_t * key, const uint32_t * vectors,
@@ -251,3 +254,6 @@ cryerror_t sama_aes_lld_process_dma(CRYDriver *cryp, aesparams *params,
}
+#endif /* HAL_USE_CRY */
+
+/** @} */