Port of TI's CC3100 Websock camera demo. Using FreeRTOS, mbedTLS, also parts of Arducam for cams ov5642 and 0v2640. Can also use MT9D111. Work in progress. Be warned some parts maybe a bit flacky. This is for Seeed Arch max only, for an M3, see the demo for CM3 using the 0v5642 aducam mini.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

sha256_context Struct Reference

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 55 of file sha256.h.


Field Documentation

unsigned char buffer[64]

data block being processed

Definition at line 59 of file sha256.h.

unsigned char ipad[64]

HMAC: inner padding

Definition at line 61 of file sha256.h.

int is224

0 => SHA-256, else SHA-224

Definition at line 63 of file sha256.h.

unsigned char opad[64]

HMAC: outer padding

Definition at line 62 of file sha256.h.

uint32_t state[8]

intermediate digest state

Definition at line 58 of file sha256.h.

uint32_t total[2]

number of bytes processed

Definition at line 57 of file sha256.h.