PolarSSL v1.2.7
Data Fields
sha2_context Struct Reference

SHA-256 context structure. More...

#include <sha2.h>

Data Fields

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

Detailed Description

SHA-256 context structure.

Definition at line 44 of file sha2.h.


Field Documentation

unsigned char sha2_context::buffer[64]

data block being processed

Definition at line 48 of file sha2.h.

unsigned char sha2_context::ipad[64]

HMAC: inner padding

Definition at line 50 of file sha2.h.

int sha2_context::is224

0 => SHA-256, else SHA-224

Definition at line 52 of file sha2.h.

unsigned char sha2_context::opad[64]

HMAC: outer padding

Definition at line 51 of file sha2.h.

uint32_t sha2_context::state[8]

intermediate digest state

Definition at line 47 of file sha2.h.

uint32_t sha2_context::total[2]

number of bytes processed

Definition at line 46 of file sha2.h.


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