mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-22 20:38:03 +00:00
TBB: delete deprecated plat_match_rotpk()
The authentication framework deprecates plat_match_rotpk() in favour of plat_get_rotpk_info(). This patch removes plat_match_rotpk() from the platform port. Change-Id: I2250463923d3ef15496f9c39678b01ee4b33883b
This commit is contained in:
parent
962f7c512a
commit
f04585f399
3 changed files with 0 additions and 23 deletions
|
@ -472,17 +472,6 @@ The ARM FVP port uses this function to initialize the mailbox memory used for
|
||||||
providing the warm-boot entry-point addresses.
|
providing the warm-boot entry-point addresses.
|
||||||
|
|
||||||
|
|
||||||
### Function: plat_match_rotpk()
|
|
||||||
|
|
||||||
Argument : const unsigned char *, unsigned int
|
|
||||||
Return : int
|
|
||||||
|
|
||||||
This function is mandatory when Trusted Board Boot is enabled. It receives a
|
|
||||||
pointer to a buffer containing a signing key and its size as parameters and
|
|
||||||
returns 0 (success) if that key matches the ROT (Root Of Trust) key stored in
|
|
||||||
the platform. Any other return value means a mismatch.
|
|
||||||
|
|
||||||
|
|
||||||
### Function: plat_get_rotpk_info()
|
### Function: plat_get_rotpk_info()
|
||||||
|
|
||||||
Argument : void *, void **, unsigned int *, unsigned int *
|
Argument : void *, void **, unsigned int *, unsigned int *
|
||||||
|
|
|
@ -198,7 +198,6 @@ void bl32_plat_enable_mmu(uint32_t flags);
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Trusted Board Boot functions
|
* Trusted Board Boot functions
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
int plat_match_rotpk(const unsigned char *, unsigned int);
|
|
||||||
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);
|
||||||
|
|
||||||
|
|
|
@ -62,17 +62,6 @@ static const unsigned char arm_devel_rotpk_hash[] = \
|
||||||
"\x8B\x4A\x4A\x46\xD8\x22\x9A\xDA";
|
"\x8B\x4A\x4A\x46\xD8\x22\x9A\xDA";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* Check the validity of the key
|
|
||||||
*
|
|
||||||
* 0 = success, Otherwise = error
|
|
||||||
*/
|
|
||||||
int plat_match_rotpk(const unsigned char *key_buf, unsigned int key_len)
|
|
||||||
{
|
|
||||||
/* TODO: check against the ROT key stored in the platform */
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Return the ROTPK hash in the following ASN.1 structure in DER format:
|
* Return the ROTPK hash in the following ASN.1 structure in DER format:
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue