mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-25 14:25:44 +00:00
fix(st): include utils.h to solve compilation error
If compiling with STM32MP13 with DECRYPTION_SUPPORT != none, there is a compilation error: plat/st/common/stm32mp_crypto_lib.c: In function 'plat_get_enc_key_info': plat/st/common/stm32mp_crypto_lib.c:532:25: error: implicit declaration of function 'zeromem' [-Werror=implicit-function-declaration] 532 | zeromem(key, *key_len); | ^~~~~~~ Adding #include <lib/utils.h> solves the error. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I0a20c5632f0379612149333e69875369d4cfca15
This commit is contained in:
parent
c0d68bbfbe
commit
377846b65e
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
#include <drivers/st/stm32_pka.h>
|
||||
#include <drivers/st/stm32_rng.h>
|
||||
#include <drivers/st/stm32_saes.h>
|
||||
#include <lib/utils.h>
|
||||
#include <lib/xlat_tables/xlat_tables_v2.h>
|
||||
#include <mbedtls/asn1.h>
|
||||
#include <mbedtls/md.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue