Microchip® Advanced Software Framework

md2_context Struct Reference

MD2 context structure.

#include <md2.h>

Data Fields

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

unsigned char md2_context::buffer[16]

data block being processed

unsigned char md2_context::cksum[16]

checksum of the data block

unsigned char md2_context::ipad[64]

HMAC: inner padding

int md2_context::left

amount of data in buffer

unsigned char md2_context::opad[64]

HMAC: outer padding

unsigned char md2_context::state[48]

intermediate digest state