Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Functions
ext_sha.h File Reference
#include "kaa_error.h"

Go to the source code of this file.

Macros

#define SHA_1_DIGEST_LENGTH   20
 

Typedefs

typedef unsigned char kaa_digest [SHA_1_DIGEST_LENGTH]
 
typedef unsigned char * kaa_digest_p
 

Functions

kaa_error_t ext_calculate_sha_hash (const char *data, size_t data_size, kaa_digest digest)
 
kaa_error_t ext_copy_sha_hash (kaa_digest_p dst, const kaa_digest_p src)
 

Macro Definition Documentation

#define SHA_1_DIGEST_LENGTH   20

Typedef Documentation

typedef unsigned char kaa_digest[SHA_1_DIGEST_LENGTH]
typedef unsigned char* kaa_digest_p

Function Documentation

kaa_error_t ext_calculate_sha_hash ( const char *  data,
size_t  data_size,
kaa_digest  digest 
)
kaa_error_t ext_copy_sha_hash ( kaa_digest_p  dst,
const kaa_digest_p  src 
)