xilsecure
Vitis Drivers API Documentation
XSecure_HashAlgInfo Struct Reference

Structure for Hash Algorithm Info. More...

Data Fields

XSecure_ShaMode Shatype
 SHA type for MGF. More...
 
u32 HashLen
 Hash length for MGF. More...
 
int(* ShaStart )(XSecure_ShaMode Shatype, void *InstancePtr)
 Function pointer to SHA start. More...
 
int(* ShaUpdate )(XSecure_ShaMode Shatype, void *InstancePtr, u64 InputDataAddr, u32 Size)
 Function pointer to SHA update. More...
 
int(* ShaFinish )(XSecure_ShaMode Shatype, void *InstancePtr, u64 HashAddr)
 Function pointer to SHA finish. More...
 
int(* ShaDigest )(XSecure_ShaMode Shatype, void *InstancePtr, u64 InputDataAddr, u32 Size, u64 HashAddr)
 Function pointer to SHA digest. More...
 

Detailed Description

Structure for Hash Algorithm Info.

Field Documentation

u32 XSecure_HashAlgInfo::HashLen

Hash length for MGF.

Referenced by XSecure_MaskGenFunc().

int(* XSecure_HashAlgInfo::ShaDigest)(XSecure_ShaMode Shatype, void *InstancePtr, u64 InputDataAddr, u32 Size, u64 HashAddr)

Function pointer to SHA digest.

int(* XSecure_HashAlgInfo::ShaFinish)(XSecure_ShaMode Shatype, void *InstancePtr, u64 HashAddr)

Function pointer to SHA finish.

Referenced by XSecure_MaskGenFunc().

int(* XSecure_HashAlgInfo::ShaStart)(XSecure_ShaMode Shatype, void *InstancePtr)

Function pointer to SHA start.

Referenced by XSecure_MaskGenFunc().

XSecure_ShaMode XSecure_HashAlgInfo::Shatype

SHA type for MGF.

Referenced by XSecure_MaskGenFunc().

int(* XSecure_HashAlgInfo::ShaUpdate)(XSecure_ShaMode Shatype, void *InstancePtr, u64 InputDataAddr, u32 Size)

Function pointer to SHA update.

Referenced by XSecure_MaskGenFunc().