xilasu
Vitis Drivers API Documentation
XAsu_KdfParams Struct Reference

This structure contains KDF params info. More...

Data Fields

u64 KeyInAddr
 Address of the input key buffer. More...
 
u64 ContextAddr
 Address of the buffer holding the fixed input data. More...
 
u64 KeyOutAddr
 Address of the buffer to hold the keying material output from KDF. More...
 
u32 KeyInLen
 Length of the input key. More...
 
u32 ContextLen
 Length of the Context. More...
 
u32 KeyOutLen
 Length of the keying material output to be generated from KDF. More...
 
u8 ShaType
 Hash family type (XASU_SHA2_TYPE / XASU_SHA3_TYPE) More...
 
u8 ShaMode
 
   SHA Mode, where XASU_SHA_MODE_SHAKE256 is valid only for SHA3 Type

(XASU_SHA_MODE_SHA256 / XASU_SHA_MODE_SHA384 / XASU_SHA_MODE_SHA512 / XASU_SHA_MODE_SHAKE256) More...

 

Detailed Description

This structure contains KDF params info.

Field Documentation

u64 XAsu_KdfParams::ContextAddr

Address of the buffer holding the fixed input data.

u32 XAsu_KdfParams::ContextLen

Length of the Context.

u64 XAsu_KdfParams::KeyInAddr

Address of the input key buffer.

u32 XAsu_KdfParams::KeyInLen

Length of the input key.

u64 XAsu_KdfParams::KeyOutAddr

Address of the buffer to hold the keying material output from KDF.

u32 XAsu_KdfParams::KeyOutLen

Length of the keying material output to be generated from KDF.

u8 XAsu_KdfParams::ShaMode

   SHA Mode, where XASU_SHA_MODE_SHAKE256 is valid only for SHA3 Type

(XASU_SHA_MODE_SHA256 / XASU_SHA_MODE_SHA384 / XASU_SHA_MODE_SHA512 / XASU_SHA_MODE_SHAKE256)

u8 XAsu_KdfParams::ShaType

Hash family type (XASU_SHA2_TYPE / XASU_SHA3_TYPE)

Referenced by XAsu_KdfGenerate().