mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
plat/arm: Pass cookie argument down to arm_get_rotpk_info()
The cookie will be leveraged in the next commit. Change-Id: Ie8bad275d856d84c27466461cf815529dd860446 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
This commit is contained in:
parent
1035a70625
commit
88005701ec
7 changed files with 7 additions and 7 deletions
|
@ -262,7 +262,7 @@ __dead2 void plat_arm_error_handler(int err);
|
|||
* Optional functions in ARM standard platforms
|
||||
*/
|
||||
void plat_arm_override_gicr_frames(const uintptr_t *plat_gicr_frames);
|
||||
int arm_get_rotpk_info(void **key_ptr, unsigned int *key_len,
|
||||
int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags);
|
||||
int arm_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags);
|
||||
|
|
|
@ -110,7 +110,7 @@ int arm_get_rotpk_info_cc(void **key_ptr, unsigned int *key_len,
|
|||
/*
|
||||
* Wraper function for most Arm platforms to get ROTPK hash.
|
||||
*/
|
||||
int arm_get_rotpk_info(void **key_ptr, unsigned int *key_len,
|
||||
int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags)
|
||||
{
|
||||
#if ARM_CRYPTOCELL_INTEG
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags)
|
||||
{
|
||||
return arm_get_rotpk_info(key_ptr, key_len, flags);
|
||||
return arm_get_rotpk_info(cookie, key_ptr, key_len, flags);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -22,5 +22,5 @@
|
|||
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags)
|
||||
{
|
||||
return arm_get_rotpk_info(key_ptr, key_len, flags);
|
||||
return arm_get_rotpk_info(cookie, key_ptr, key_len, flags);
|
||||
}
|
||||
|
|
|
@ -22,5 +22,5 @@
|
|||
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags)
|
||||
{
|
||||
return arm_get_rotpk_info(key_ptr, key_len, flags);
|
||||
return arm_get_rotpk_info(cookie, key_ptr, key_len, flags);
|
||||
}
|
||||
|
|
|
@ -22,5 +22,5 @@
|
|||
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags)
|
||||
{
|
||||
return arm_get_rotpk_info(key_ptr, key_len, flags);
|
||||
return arm_get_rotpk_info(cookie, key_ptr, key_len, flags);
|
||||
}
|
||||
|
|
|
@ -22,5 +22,5 @@
|
|||
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||
unsigned int *flags)
|
||||
{
|
||||
return arm_get_rotpk_info(key_ptr, key_len, flags);
|
||||
return arm_get_rotpk_info(cookie, key_ptr, key_len, flags);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue