Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
b8f84577
Commit
b8f84577
authored
Oct 06, 2020
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Oct 06, 2020
Browse files
Merge "plat/arm: common: add guard for arm_get_rotpk_info_regs" into integration
parents
3fad9960
3bfcc9d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/arm/board/common/board_arm_trusted_boot.c
View file @
b8f84577
...
...
@@ -47,8 +47,11 @@ uintptr_t nv_cntr_base_addr[MAX_NV_CTR_IDS] = {
extern
unsigned
char
arm_rotpk_header
[],
arm_rotpk_hash_end
[];
#if (ARM_ROTPK_LOCATION_ID == ARM_ROTPK_REGS_ID) || ARM_CRYPTOCELL_INTEG
static
unsigned
char
rotpk_hash_der
[
ARM_ROTPK_HEADER_LEN
+
ARM_ROTPK_HASH_LEN
];
#endif
#if (ARM_ROTPK_LOCATION_ID == ARM_ROTPK_REGS_ID)
/*
* Return the ROTPK hash stored in dedicated registers.
*/
...
...
@@ -85,6 +88,7 @@ int arm_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len,
*
flags
=
ROTPK_IS_HASH
;
return
0
;
}
#endif
#if (ARM_ROTPK_LOCATION_ID == ARM_ROTPK_DEVEL_RSA_ID) || \
(ARM_ROTPK_LOCATION_ID == ARM_ROTPK_DEVEL_ECDSA_ID)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment