Guardtime KSI c SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Typedefs | Functions
hmac.h File Reference
#include "types.h"

Go to the source code of this file.

Typedefs

typedef struct KSI_HmacHasher_st KSI_HmacHasher
 

Functions

int KSI_HMAC_create (KSI_CTX *ctx, KSI_HashAlgorithm algo_id, const char *key, const unsigned char *data, size_t data_len, KSI_DataHash **hmac)
 
int KSI_HmacHasher_open (KSI_CTX *ctx, KSI_HashAlgorithm algo_id, const char *key, KSI_HmacHasher **hasher)
 
int KSI_HmacHasher_reset (KSI_HmacHasher *hasher)
 
int KSI_HmacHasher_add (KSI_HmacHasher *hasher, const void *data, size_t data_length)
 
int KSI_HmacHasher_close (KSI_HmacHasher *hasher, KSI_DataHash **hmac)
 
void KSI_HmacHasher_free (KSI_HmacHasher *hasher)