SDL API Guide for J721E
|
This file contains the SDL-FL API's for ROM Checksum.
Go to the source code of this file.
Data Structures | |
struct | SDL_ROM_Checksum_obj |
This structure is used to store the resultant value of ROM Checksum. More... | |
Functions | |
void | SDL_ROM_Checksum_init (SDL_ROM_Checksum_obj *const md) |
This API will Initialize the buffer where hash value to be stored. More... | |
int32_t | SDL_ROM_Checksum_process (SDL_ROM_Checksum_obj *md, uint8_t *in, uint32_t inlen) |
This API is used to process the ROM region data. More... | |
void | SDL_ROM_Checksum_compress (SDL_ROM_Checksum_obj *md, uint8_t *buf) |
This API is used to compress the data of ROM region and store the result in md->state. More... | |
int32_t | SDL_ROM_Checksum_done (SDL_ROM_Checksum_obj *md) |
This API will increase our data length with the help of padding ( because our algorithm can compress only 1024-bit length of data at a time) and will compress then will store final has value in md->state. More... | |
int32_t | SDL_ROM_Checksum_compareResult (uint64_t buflen, SDL_ROM_Checksum_obj *md, uint64_t *golden_value) |
This API will compare the resultant hash value of golden value. More... | |
void | SDL_memcpy (void *dest, void *src, uint32_t n) |
This API will copy source pointer data to destination pointer. More... | |