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
|
@ -262,7 +262,7 @@ __dead2 void plat_arm_error_handler(int err);
|
||||||
* Optional functions in ARM standard platforms
|
* Optional functions in ARM standard platforms
|
||||||
*/
|
*/
|
||||||
void plat_arm_override_gicr_frames(const uintptr_t *plat_gicr_frames);
|
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);
|
unsigned int *flags);
|
||||||
int arm_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len,
|
int arm_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len,
|
||||||
unsigned int *flags);
|
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.
|
* 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)
|
unsigned int *flags)
|
||||||
{
|
{
|
||||||
#if ARM_CRYPTOCELL_INTEG
|
#if ARM_CRYPTOCELL_INTEG
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||||
unsigned int *flags)
|
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,
|
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||||
unsigned int *flags)
|
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,
|
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||||
unsigned int *flags)
|
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,
|
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||||
unsigned int *flags)
|
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,
|
int plat_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len,
|
||||||
unsigned int *flags)
|
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…
Reference in New Issue