Searched refs:iot_sha1_context (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/linkkit/include/linkkit/infra/ |
A D | infra_sha1.h | 19 } iot_sha1_context; typedef 26 void utils_sha1_init(iot_sha1_context *ctx); 33 void utils_sha1_free(iot_sha1_context *ctx); 41 void utils_sha1_clone(iot_sha1_context *dst, const iot_sha1_context *src); 48 void utils_sha1_starts(iot_sha1_context *ctx); 57 void utils_sha1_update(iot_sha1_context *ctx, const unsigned char *input, 66 void utils_sha1_finish(iot_sha1_context *ctx, unsigned char output[20]); 69 void utils_sha1_process(iot_sha1_context *ctx, const unsigned char data[64]);
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_sha1.c | 45 void utils_sha1_init(iot_sha1_context *ctx) in utils_sha1_init() 47 memset(ctx, 0, sizeof(iot_sha1_context)); in utils_sha1_init() 50 void utils_sha1_free(iot_sha1_context *ctx) in utils_sha1_free() 56 utils_sha1_zeroize(ctx, sizeof(iot_sha1_context)); in utils_sha1_free() 59 void utils_sha1_clone(iot_sha1_context *dst, const iot_sha1_context *src) in utils_sha1_clone() 67 void utils_sha1_starts(iot_sha1_context *ctx) in utils_sha1_starts() 79 void utils_sha1_process(iot_sha1_context *ctx, const unsigned char data[64]) in utils_sha1_process() 282 void utils_sha1_finish(iot_sha1_context *ctx, unsigned char output[20]) in utils_sha1_finish() 313 iot_sha1_context ctx; in utils_sha1() 331 iot_sha1_context context; in utils_hmac_sha1() [all …]
|
Completed in 5 milliseconds