xilskey
Vitis Drivers API Documentation
xilskey_puf_regeneration_example.c File Reference

Overview

This file illustrates PUF regeneration then encrypt and decrypt of given data using PUF.

 MODIFICATION HISTORY:
 Ver   Who   Date     Changes
 ----- ---  -------- -------------------------------------------------------
 6.7   ka   01/09/19 First release.
       vns  03/21/19 Updated XilSKey_Efuse_ConvertStringToHexBE with bits
 7.0   kpt  09/02/20 Added successfully ran print to the example in case of
                     success
 7.5   ng      07/13/23 added SDT support
 
Note
          User configurable parameters for PUF

#define XSK_PUF_KEY_IV "000000000000000000000000" The value mentioned here will be converted to hex buffer. This is Initialization vector(IV) which is used for AES data encryption and decryption using PUF key This value should be given in string format. It should be 24 characters long, valid characters are 0-9,a-f,A-F. Any other character is considered as invalid string. #define XSK_INPUT_DATA "00000000000000000000000000000000" The value mentioned in this will be converted to hex buffer and encrypts this with PUF key This value should be given in string format. It should be 64 characters long, valid characters are 0-9,a-f,A-F. Any other character is considered as invalid string.