This function is used to read the PPK1 hash from eFUSE or cache.
Note: It is highly recommended to read from eFuse cache. Reading from efuse
reduces the life of the efuse and cache reload is required for obtaining updated values
for ReadOption 0.
Prototype
u32 XilSKey_ZynqMp_EfusePs_ReadPpk1Hash(u32 *Ppk1Hash, u8 ReadOption);
Parameters
The following table lists the XilSKey_ZynqMp_EfusePs_ReadPpk1Hash function arguments.
| Type | Member | Description |
|---|---|---|
| u32 * | Ppk1Hash | Pointer to an array which holds the readback PPK1 hash. |
| u8 | ReadOption |
Indicates whether or not to read from the actual eFUSE array or from the eFUSE cache.
|
Returns
- XST_SUCCESS on successful read
- ErrorCode on failure