Lines Matching refs:sha1_ctx
52 SHA1_CTX *sha1_ctx = ctx; in x_sha1_update() local
54 SHA1Update(sha1_ctx, data, size); in x_sha1_update()
61 SHA1_CTX *sha1_ctx = ctx; in x_sha1_final() local
63 SHA1Final(result, sha1_ctx); in x_sha1_final()
64 free(sha1_ctx); in x_sha1_final()
86 CC_SHA1_CTX *sha1_ctx = ctx; in x_sha1_update() local
88 CC_SHA1_Update(sha1_ctx, data, size); in x_sha1_update()
95 CC_SHA1_CTX *sha1_ctx = ctx; in x_sha1_final() local
97 CC_SHA1_Final(result, sha1_ctx); in x_sha1_final()
98 free(sha1_ctx); in x_sha1_final()
151 struct sha1_ctx *ctx = malloc(sizeof(*ctx)); in x_sha1_init()
225 sha1_ctx *ctx = malloc(sizeof(*ctx)); in x_sha1_init()