Main Page Modules Data Structures File List Data Fields Globals Related Pages

# beecrypt/hmacsha256.c File Reference

HMAC-SHA-256 message authentication code, code. More...

`#include "system.h"`
`#include "hmacsha256.h"`
`#include "debug.h"`

Go to the source code of this file.

## Functions

int | hmacsha256Setup (hmacsha256Param *sp, const uint32 *key, int keybits)
int | hmacsha256Reset (hmacsha256Param *sp)
int | hmacsha256Update (hmacsha256Param *sp, const byte *data, int size)
int | hmacsha256Digest (hmacsha256Param *sp, uint32 *data)

## Variables

const keyedHashFunction | hmacsha256 = { "HMAC-SHA-256", sizeof(hmacsha256Param), 64, 8 * sizeof(uint32), 64, 512, 32, (keyedHashFunctionSetup) hmacsha256Setup, (keyedHashFunctionReset) hmacsha256Reset, (keyedHashFunctionUpdate) hmacsha256Update, (keyedHashFunctionDigest) hmacsha256Digest }

## Detailed Description

HMAC-SHA-256 message authentication code, code.

Definition in file hmacsha256.c.