sha256_context Struct Reference

SHA-256 context structure. More...

#include <sha256.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 54 of file sha256.h.


Field Documentation

unsigned char sha256_context::buffer[64]

data block being processed

Definition at line 58 of file sha256.h.

Referenced by sha256_update().

unsigned char sha256_context::ipad[64]

HMAC: inner padding

Definition at line 60 of file sha256.h.

Referenced by sha256_hmac_reset(), and sha256_hmac_starts().

0 => SHA-256, else SHA-224

Definition at line 62 of file sha256.h.

Referenced by sha256_finish(), sha256_hmac_finish(), sha256_hmac_reset(), and sha256_starts().

unsigned char sha256_context::opad[64]

HMAC: outer padding

Definition at line 61 of file sha256.h.

Referenced by sha256_hmac_finish(), and sha256_hmac_starts().

uint32_t sha256_context::state[8]

intermediate digest state

Definition at line 57 of file sha256.h.

Referenced by sha256_finish(), sha256_process(), sha256_starts(), and ssl_calc_finished_tls_sha256().

uint32_t sha256_context::total[2]

number of bytes processed

Definition at line 56 of file sha256.h.

Referenced by sha256_finish(), sha256_starts(), and sha256_update().


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

Generated on 9 Apr 2014 for PolarSSL v1.3.2 by  doxygen 1.6.1