Commit 88005701 authored by Sandrine Bailleux's avatar Sandrine Bailleux
Browse files

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: default avatarSandrine Bailleux <sandrine.bailleux@arm.com>
parent 1035a706
...@@ -262,7 +262,7 @@ __dead2 void plat_arm_error_handler(int err); ...@@ -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, ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment