![]() |
xilasu
Vitis Drivers API Documentation
|
This structure contains HMAC params info. More...
Data Fields | |
| 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... | |
| u8 | IsLast |
| Indicates whether it is the last update of data to HMAC. More... | |
| u8 | OperationFlags |
| Flags that determine the operation type. More... | |
| u32 | KeyLen |
| Length of the key. More... | |
| u32 | MsgLen |
| Length of the message to be processed. More... | |
| u32 | HmacLen |
| Length of the HMAC to be generated. More... | |
| u64 | KeyAddr |
| Key address. More... | |
| u64 | MsgBufferAddr |
| Address of the message buffer. More... | |
| u64 | HmacAddr |
| Address of the output buffer to store the generated HMAC. More... | |
This structure contains HMAC params info.
| u64 XAsu_HmacParams::HmacAddr |
Address of the output buffer to store the generated HMAC.
Referenced by XAsu_HmacCompute().
| u32 XAsu_HmacParams::HmacLen |
Length of the HMAC to be generated.
Referenced by XAsu_HmacCompute().
| u8 XAsu_HmacParams::IsLast |
Indicates whether it is the last update of data to HMAC.
| u64 XAsu_HmacParams::KeyAddr |
Key address.
| u32 XAsu_HmacParams::KeyLen |
Length of the key.
| u64 XAsu_HmacParams::MsgBufferAddr |
Address of the message buffer.
| u32 XAsu_HmacParams::MsgLen |
Length of the message to be processed.
MsgLen can be 0 <= MsgLen < ((2^B)-8B). Where B is the block length of the selected SHA type and SHA mode.
| u8 XAsu_HmacParams::OperationFlags |
Flags that determine the operation type.
These can be a combination of XASU_HMAC_INIT, XASU_HMAC_UPDATE and XASU_HMAC_FINAL
Referenced by XAsu_HmacCompute().
| u8 XAsu_HmacParams::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_HmacParams::ShaType |
Hash family type (XASU_SHA2_TYPE / XASU_SHA3_TYPE)
Referenced by XAsu_HmacCompute().