Example program to test AES-GCM functionality. Used for a workshop

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

md2_context Struct Reference

md2_context Struct Reference

MD2 context structure. More...

#include <md2.h>

Data Fields

unsigned char cksum [16]
unsigned char state [48]
unsigned char buffer [16]
unsigned char ipad [16]
unsigned char opad [16]
size_t left

Detailed Description

MD2 context structure.

Definition at line 51 of file md2.h.


Field Documentation

unsigned char buffer[16]

data block being processed

Definition at line 55 of file md2.h.

unsigned char cksum[16]

checksum of the data block

Definition at line 53 of file md2.h.

unsigned char ipad[16]

HMAC: inner padding

Definition at line 57 of file md2.h.

size_t left

amount of data in buffer

Definition at line 59 of file md2.h.

unsigned char opad[16]

HMAC: outer padding

Definition at line 58 of file md2.h.

unsigned char state[48]

intermediate digest state

Definition at line 54 of file md2.h.