client-c  0.7.0
ext_sha.h File Reference
#include "../kaa_error.h"
+ Include dependency graph for ext_sha.h:
+ This graph shows which files directly or indirectly include this file:

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

Definition at line 33 of file ext_sha.h.

Typedef Documentation

typedef unsigned char kaa_digest[SHA_1_DIGEST_LENGTH]

Definition at line 34 of file ext_sha.h.

typedef unsigned char* kaa_digest_p

Definition at line 35 of file ext_sha.h.

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 
)