Home
last modified time | relevance | path

Searched refs:sha1_ctx (Results 1 – 4 of 4) sorted by relevance

/external/vboot_reference/firmware/lib/cryptolib/
Dsha_utility.c19 ctx->sha1_ctx = (SHA1_CTX*) VbExMalloc(sizeof(SHA1_CTX)); in DigestInit()
20 SHA1_init(ctx->sha1_ctx); in DigestInit()
40 SHA1_update(ctx->sha1_ctx, data, len); in DigestUpdate()
60 Memcpy(digest, SHA1_final(ctx->sha1_ctx), SHA1_DIGEST_SIZE); in DigestFinal()
61 VbExFree(ctx->sha1_ctx); in DigestFinal()
/external/mesa3d/src/intel/vulkan/
Danv_device.c239 struct mesa_sha1 sha1_ctx; in anv_physical_device_init_uuids() local
246 _mesa_sha1_init(&sha1_ctx); in anv_physical_device_init_uuids()
247 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in anv_physical_device_init_uuids()
248 _mesa_sha1_update(&sha1_ctx, &device->chipset_id, in anv_physical_device_init_uuids()
250 _mesa_sha1_final(&sha1_ctx, sha1); in anv_physical_device_init_uuids()
266 _mesa_sha1_init(&sha1_ctx); in anv_physical_device_init_uuids()
267 _mesa_sha1_update(&sha1_ctx, &device->chipset_id, in anv_physical_device_init_uuids()
269 _mesa_sha1_update(&sha1_ctx, &device->isl_dev.has_bit6_swizzling, in anv_physical_device_init_uuids()
271 _mesa_sha1_final(&sha1_ctx, sha1); in anv_physical_device_init_uuids()
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h97 SHA1_CTX* sha1_ctx; member
/external/curl/src/
Dtool_metalink.c42 # define SHA_CTX struct sha1_ctx