XilSKey_EfusePl_ReadKey - XilSKey_EfusePl_ReadKey - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

Reads the PL efuse keys and stores them in the corresponding arrays in instance structure.

Note: This function initializes the timer, XADC, and JTAG server subsystems if not already initialized. In Zynq - Reads AES key and User keys. In UltraScale - Reads 32-bit and 128-bit User keys and RSA hash. AES key cannot be read directly it can be verified with CRC check (requires updating the instance with 32-bit CRC value, API updates whether provided CRC value is matched with actuals or not). To calculate the CRC of expected AES key one can use any of the following APIs XilSKey_CrcCalculation() or XilSkey_CrcCalculation_AesKey()

Prototype

u32 XilSKey_EfusePl_ReadKey(XilSKey_EPl *InstancePtr);

Parameters

The following table lists the XilSKey_EfusePl_ReadKey function arguments.

Table 1. XilSKey_EfusePl_ReadKey Arguments
Type Member Description
XilSKey_EPl * InstancePtr Pointer to PL eFUSE instance.

Returns

  • XST_FAILURE - In case of failure
  • XST_SUCCESS - In case of Success