xilsecure
Vitis Drivers API Documentation
xsecure_sha1.h File Reference

Overview

This file contains SHA1 driver function prototype.

NOTE : This algorithm is tested only for little endian with data length ranging 1 byte to 8KB

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.0 mmd 12/20/24 Initial release

 

Macros

#define XSECURE_SHA1_HASH_SIZE   20U
 Size of SHA1 hash in bytes. More...
 

Functions

s32 XSecure_Sha1Digest (const u8 *const Data, u32 Len, u8 *const Hash)
 This function calculates SHA1 hash on given input data. More...
 

Macro Definition Documentation

#define XSECURE_SHA1_HASH_SIZE   20U

Size of SHA1 hash in bytes.