/external/mesa3d/src/freedreno/common/ |
D | freedreno_uuid.c | 47 struct mesa_sha1 sha1_ctx; in fd_get_driver_uuid() local 48 _mesa_sha1_init(&sha1_ctx); in fd_get_driver_uuid() 50 _mesa_sha1_update(&sha1_ctx, driver_id, strlen(driver_id)); in fd_get_driver_uuid() 53 _mesa_sha1_final(&sha1_ctx, sha1); in fd_get_driver_uuid() 62 struct mesa_sha1 sha1_ctx; in fd_get_device_uuid() local 63 _mesa_sha1_init(&sha1_ctx); in fd_get_device_uuid() 84 _mesa_sha1_update(&sha1_ctx, device_name, strlen(device_name)); in fd_get_device_uuid() 86 _mesa_sha1_update(&sha1_ctx, &gpu_id, sizeof(gpu_id)); in fd_get_device_uuid() 89 _mesa_sha1_final(&sha1_ctx, sha1); in fd_get_device_uuid()
|
/external/mesa3d/src/intel/common/ |
D | gen_uuid.c | 33 struct mesa_sha1 sha1_ctx; in gen_uuid_compute_device_id() local 45 _mesa_sha1_init(&sha1_ctx); in gen_uuid_compute_device_id() 46 _mesa_sha1_update(&sha1_ctx, &devinfo->chipset_id, in gen_uuid_compute_device_id() 48 _mesa_sha1_update(&sha1_ctx, &isldev->has_bit6_swizzling, in gen_uuid_compute_device_id() 50 _mesa_sha1_final(&sha1_ctx, sha1); in gen_uuid_compute_device_id() 60 struct mesa_sha1 sha1_ctx; in gen_uuid_compute_driver_id() local 71 _mesa_sha1_init(&sha1_ctx); in gen_uuid_compute_driver_id() 72 _mesa_sha1_update(&sha1_ctx, intelDriver, strlen(intelDriver) * sizeof(char)); in gen_uuid_compute_driver_id() 73 _mesa_sha1_final(&sha1_ctx, sha1); in gen_uuid_compute_driver_id()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | sha_utility.c | 19 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/gallium/auxiliary/util/ |
D | u_live_shader_cache.c | 100 struct mesa_sha1 sha1_ctx; in util_live_shader_cache_get() local 102 _mesa_sha1_init(&sha1_ctx); in util_live_shader_cache_get() 103 _mesa_sha1_update(&sha1_ctx, ir_binary, ir_size); in util_live_shader_cache_get() 108 _mesa_sha1_update(&sha1_ctx, &state->stream_output, in util_live_shader_cache_get() 111 _mesa_sha1_final(&sha1_ctx, sha1); in util_live_shader_cache_get()
|
/external/mesa3d/src/intel/perf/ |
D | gen_perf.c | 827 struct mesa_sha1 sha1_ctx; in gen_perf_store_configuration() local 828 _mesa_sha1_init(&sha1_ctx); in gen_perf_store_configuration() 831 _mesa_sha1_update(&sha1_ctx, config->flex_regs, in gen_perf_store_configuration() 836 _mesa_sha1_update(&sha1_ctx, config->mux_regs, in gen_perf_store_configuration() 841 _mesa_sha1_update(&sha1_ctx, config->b_counter_regs, in gen_perf_store_configuration() 847 _mesa_sha1_final(&sha1_ctx, hash); in gen_perf_store_configuration()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 97 SHA1_CTX* sha1_ctx; member
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 413 struct mesa_sha1 sha1_ctx; in init_uuids() local 420 _mesa_sha1_init(&sha1_ctx); in init_uuids() 421 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in init_uuids() 422 _mesa_sha1_update(&sha1_ctx, &device_id, sizeof(device_id)); in init_uuids() 423 _mesa_sha1_final(&sha1_ctx, sha1); in init_uuids() 437 _mesa_sha1_init(&sha1_ctx); in init_uuids() 438 _mesa_sha1_update(&sha1_ctx, &vendor_id, sizeof(vendor_id)); in init_uuids() 439 _mesa_sha1_update(&sha1_ctx, &device_id, sizeof(device_id)); in init_uuids() 440 _mesa_sha1_final(&sha1_ctx, sha1); in init_uuids()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 239 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->info.chipset_id, in anv_physical_device_init_uuids() 250 _mesa_sha1_update(&sha1_ctx, &device->always_use_bindless, in anv_physical_device_init_uuids() 252 _mesa_sha1_update(&sha1_ctx, &device->has_a64_buffer_access, in anv_physical_device_init_uuids() 254 _mesa_sha1_update(&sha1_ctx, &device->has_bindless_images, in anv_physical_device_init_uuids() 256 _mesa_sha1_update(&sha1_ctx, &device->has_bindless_samplers, in anv_physical_device_init_uuids() 258 _mesa_sha1_final(&sha1_ctx, sha1); in anv_physical_device_init_uuids()
|
/external/curl/src/ |
D | tool_metalink.c | 42 # define SHA_CTX struct sha1_ctx
|