MCCI TweetNaCl
TweetNaCl library adapted for embedded use
mcci_tweetnacl_hash.h File Reference
#include "mcci_tweetnacl.h"
+ Include dependency graph for mcci_tweetnacl_hash.h:

Go to the source code of this file.

Data Structures

struct  mcci_tweetnacl_sha512_t
 abstract type for SHA512 signature blocks More...
 

Macros

#define _mcci_tweetnacl_hash_h_   /* prevent multiple includes */
 

Functions

static void mcci_tweetnacl_hash_sha512 (mcci_tweetnacl_sha512_t *pOut, const unsigned char *pMessage, size_t nMessage)
 Calculate sha512 hash of message. More...
 
static size_t mcci_tweetnacl_hashblocks_sha512 (mcci_tweetnacl_sha512_t *pState, const unsigned char *pMessage, size_t nMessage)
 Partial calculation of sha512 hash of message. More...
 
static void mcci_tweetnacl_hashblocks_sha512_finish (mcci_tweetnacl_sha512_t *pHash, const unsigned char *pMessage, size_t nMessage)
 Finish partial calculation of sha512 hash of message. More...
 
static void mcci_tweetnacl_hashblocks_sha512_init (mcci_tweetnacl_sha512_t *pState)
 Partial calculation of sha512 hash of message. More...
 

Macro Definition Documentation

◆ _mcci_tweetnacl_hash_h_

#define _mcci_tweetnacl_hash_h_   /* prevent multiple includes */

Definition at line 24 of file mcci_tweetnacl_hash.h.