client-c  0.8.1
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

Copyright 2014-2016 CyberVision, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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 
)