XilSkey_CrcCalculation_AesKey - XilSkey_CrcCalculation_AesKey - 2025.2 English - UG643

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

Document ID
UG643
Release Date
2025-11-20
Version
2025.2 English

Calculates CRC value of the provided key. Key must be provided in hexa buffer.

Prototype

u32 XilSkey_CrcCalculation_AesKey(const u8 *Key);

Parameters

The following table lists the XilSkey_CrcCalculation_AesKey function arguments.

Table 1. XilSkey_CrcCalculation_AesKey Arguments
Type Member Description
const u8 * Key Pointer to an array of 32 bytes, which holds an AES key.

Returns

CRC of provided AES key value. To calculate CRC on the AES key in string format, use XilSKey_CrcCalculation.