diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2018-02-12 12:36:17 +0000 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2018-04-13 14:01:56 +0100 |
commit | 3b94189a921c0ea2a410c7730dc9636d95f5aa86 (patch) | |
tree | cf523a94149f4c879757838a47fa1842449add8b /include | |
parent | 735181b634c951d4fa6a8b454847dac53f85d5b5 (diff) | |
download | platform_external_arm-trusted-firmware-3b94189a921c0ea2a410c7730dc9636d95f5aa86.tar.gz platform_external_arm-trusted-firmware-3b94189a921c0ea2a410c7730dc9636d95f5aa86.tar.bz2 platform_external_arm-trusted-firmware-3b94189a921c0ea2a410c7730dc9636d95f5aa86.zip |
Fix MISRA rule 8.4 Part 4
Rule 8.4: A compatible declaration shall be visible when
an object or function with external linkage is defined
Fixed for:
make DEBUG=1 PLAT=fvp SPD=tspd TRUSTED_BOARD_BOOT=1 \
GENERATE_COT=1 ARM_ROTPK_LOCATION=devel_rsa \
ROT_KEY=arm_rotprivk_rsa.pem MBEDTLS_DIR=mbedtls all
Change-Id: Ie4cd6011b3e4fdcdd94ccb97a7e941f3b5b7aeb8
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drivers/auth/auth_mod.h | 3 | ||||
-rw-r--r-- | include/drivers/auth/crypto_mod.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/drivers/auth/auth_mod.h b/include/drivers/auth/auth_mod.h index 74fc15fc1..bb3b8f902 100644 --- a/include/drivers/auth/auth_mod.h +++ b/include/drivers/auth/auth_mod.h @@ -44,6 +44,9 @@ int auth_mod_verify_img(unsigned int img_id, (const auth_img_desc_t *const)&_cot[0]; \ unsigned int auth_img_flags[MAX_NUMBER_IDS] +extern const auth_img_desc_t *const cot_desc_ptr; +extern unsigned int auth_img_flags[MAX_NUMBER_IDS]; + #endif /* TRUSTED_BOARD_BOOT */ #endif /* __AUTH_MOD_H__ */ diff --git a/include/drivers/auth/crypto_mod.h b/include/drivers/auth/crypto_mod.h index 7a1b6b807..f9b44d1c0 100644 --- a/include/drivers/auth/crypto_mod.h +++ b/include/drivers/auth/crypto_mod.h @@ -57,4 +57,6 @@ int crypto_mod_verify_hash(void *data_ptr, unsigned int data_len, .verify_hash = _verify_hash \ } +extern const crypto_lib_desc_t crypto_lib_desc; + #endif /* __CRYPTO_MOD_H__ */ |