Searched refs:sha1_ctx (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | xsha1.c | 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() [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | image-android.c | 422 static sha1_context sha1_ctx; variable 665 sha1_update(&sha1_ctx, (void *)buffer, length); in image_load() 666 sha1_update(&sha1_ctx, (void *)&length, typesz); in image_load() 760 sha1_starts(&sha1_ctx); in android_image_separate() 769 sha1_finish(&sha1_ctx, hash); in android_image_separate()
|