Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sha2_context Struct Reference

SHA-256 context structure. More...

Data Fields

unsigned long total [2]
 
unsigned long state [8]
 
unsigned char buffer [64]
 
unsigned char ipad [64]
 
unsigned char opad [64]
 
int is224
 

Detailed Description

SHA-256 context structure.

Field Documentation

unsigned char buffer[64]

data block being processed

unsigned char ipad[64]

HMAC: inner padding

int is224

0 => SHA-256, else SHA-224

unsigned char opad[64]

HMAC: outer padding

unsigned long state[8]

intermediate digest state

unsigned long total[2]

number of bytes processed


The documentation for this struct was generated from the following file: