Atmel Software Framework

sha1_context Struct Reference

SHA-1 context structure.

#include <sha1.h>

Data Fields

unsigned char buffer [64]
 
unsigned char ipad [64]
 
unsigned char opad [64]
 
unsigned long state [5]
 
unsigned long total [2]
 

unsigned char sha1_context::buffer[64]

data block being processed

unsigned char sha1_context::ipad[64]

HMAC: inner padding

unsigned char sha1_context::opad[64]

HMAC: outer padding

unsigned long sha1_context::state[5]

intermediate digest state

unsigned long sha1_context::total[2]

number of bytes processed