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

sha512_context Struct Reference

sha512_context Struct Reference

SHA-512 context structure. More...

#include <sha512.h>

Data Fields

uint64_t total [2]
uint64_t state [8]
unsigned char buffer [128]
unsigned char ipad [128]
unsigned char opad [128]
int is384

Detailed Description

SHA-512 context structure.

Definition at line 54 of file sha512.h.


Field Documentation

unsigned char buffer[128]

data block being processed

Definition at line 58 of file sha512.h.

unsigned char ipad[128]

HMAC: inner padding

Definition at line 60 of file sha512.h.

int is384

0 => SHA-512, else SHA-384

Definition at line 62 of file sha512.h.

unsigned char opad[128]

HMAC: outer padding

Definition at line 61 of file sha512.h.

uint64_t state[8]

intermediate digest state

Definition at line 57 of file sha512.h.

uint64_t total[2]

number of bytes processed

Definition at line 56 of file sha512.h.