MCCI TweetNaCl
TweetNaCl library adapted for embedded use
|
#include "mcci_tweetnacl.h"
Go to the source code of this file.
Data Structures | |
struct | mcci_tweetnacl_onetimeauth_authenticator_t |
abstract type for crypto authenticators More... | |
struct | mcci_tweetnacl_onetimeauth_key_t |
abstract type for crypto keys More... | |
Macros | |
#define | _mcci_tweetnacl_onetimeauth_h_ /* prevent multiple includes */ |
Functions | |
static void | mcci_tweetnacl_onetimeauth (mcci_tweetnacl_onetimeauth_authenticator_t *pAuth, const unsigned char *pMessage, size_t nMessage, const mcci_tweetnacl_onetimeauth_key_t *pKey) |
Generate one-time authenticator for a given message and secret key. More... | |
static mcci_tweetnacl_result_t | mcci_tweetnacl_onetimeauth_verify (const mcci_tweetnacl_onetimeauth_authenticator_t *pAuth, const unsigned char *pMessage, size_t nMessage, const mcci_tweetnacl_onetimeauth_key_t *pKey) |
Verify message given one-time authenticator and secret key. More... | |
#define _mcci_tweetnacl_onetimeauth_h_ /* prevent multiple includes */ |
Definition at line 24 of file mcci_tweetnacl_onetimeauth.h.