/third_party/mesa3d/src/intel/common/ |
D | intel_uuid.c | 33 struct mesa_sha1 sha1_ctx; in intel_uuid_compute_device_id() local 43 _mesa_sha1_init(&sha1_ctx); in intel_uuid_compute_device_id() 44 _mesa_sha1_update(&sha1_ctx, &devinfo->pci_domain, in intel_uuid_compute_device_id() 46 _mesa_sha1_update(&sha1_ctx, &devinfo->pci_bus, in intel_uuid_compute_device_id() 48 _mesa_sha1_update(&sha1_ctx, &devinfo->pci_dev, in intel_uuid_compute_device_id() 50 _mesa_sha1_update(&sha1_ctx, &devinfo->pci_func, in intel_uuid_compute_device_id() 52 _mesa_sha1_update(&sha1_ctx, vendor, strlen(vendor)); in intel_uuid_compute_device_id() 53 _mesa_sha1_update(&sha1_ctx, &devinfo->pci_device_id, in intel_uuid_compute_device_id() 55 _mesa_sha1_update(&sha1_ctx, &devinfo->pci_revision_id, in intel_uuid_compute_device_id() 57 _mesa_sha1_update(&sha1_ctx, &devinfo->revision, in intel_uuid_compute_device_id() [all …]
|
/third_party/mesa3d/src/freedreno/common/ |
D | freedreno_uuid.c | 48 struct mesa_sha1 sha1_ctx; in fd_get_driver_uuid() local 49 _mesa_sha1_init(&sha1_ctx); in fd_get_driver_uuid() 51 _mesa_sha1_update(&sha1_ctx, driver_id, strlen(driver_id)); in fd_get_driver_uuid() 54 _mesa_sha1_final(&sha1_ctx, sha1); in fd_get_driver_uuid() 63 struct mesa_sha1 sha1_ctx; in fd_get_device_uuid() local 64 _mesa_sha1_init(&sha1_ctx); in fd_get_device_uuid() 85 _mesa_sha1_update(&sha1_ctx, device_name, strlen(device_name)); in fd_get_device_uuid() 87 _mesa_sha1_update(&sha1_ctx, id, sizeof(*id)); in fd_get_device_uuid() 90 _mesa_sha1_final(&sha1_ctx, sha1); in fd_get_device_uuid()
|
/third_party/lwip/src/netif/ppp/ |
D | mppe.c | 63 lwip_sha1_context sha1_ctx; in mppe_rekey() local 70 lwip_sha1_init(&sha1_ctx); in mppe_rekey() 71 lwip_sha1_starts(&sha1_ctx); in mppe_rekey() 72 lwip_sha1_update(&sha1_ctx, state->master_key, state->keylen); in mppe_rekey() 73 lwip_sha1_update(&sha1_ctx, mppe_sha1_pad1, SHA1_PAD_SIZE); in mppe_rekey() 74 lwip_sha1_update(&sha1_ctx, state->session_key, state->keylen); in mppe_rekey() 75 lwip_sha1_update(&sha1_ctx, mppe_sha1_pad2, SHA1_PAD_SIZE); in mppe_rekey() 76 lwip_sha1_finish(&sha1_ctx, sha1_digest); in mppe_rekey() 77 lwip_sha1_free(&sha1_ctx); in mppe_rekey()
|
/third_party/mesa3d/src/intel/compiler/ |
D | intel_clc.c | 69 struct mesa_sha1 sha1_ctx; in get_disk_cache() local 71 _mesa_sha1_init(&sha1_ctx); in get_disk_cache() 72 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in get_disk_cache() 73 _mesa_sha1_final(&sha1_ctx, sha1); in get_disk_cache() 188 struct mesa_sha1 sha1_ctx; in print_kernel() local 189 _mesa_sha1_init(&sha1_ctx); in print_kernel() 192 _mesa_sha1_update(&sha1_ctx, &val, sizeof(val)) in print_kernel() 206 _mesa_sha1_update(&sha1_ctx, kernel->prog_data.base.relocs, in print_kernel() 214 _mesa_sha1_update(&sha1_ctx, &cs_prog_data, sizeof(cs_prog_data)); in print_kernel() 218 _mesa_sha1_update(&sha1_ctx, kernel->args, in print_kernel() [all …]
|
/third_party/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()
|
/third_party/mesa3d/src/util/ |
D | os_memory_fd.c | 56 struct mesa_sha1 sha1_ctx; in get_driver_id_sha1_hash() local 57 _mesa_sha1_init(&sha1_ctx); in get_driver_id_sha1_hash() 59 _mesa_sha1_update(&sha1_ctx, driver_id, strlen(driver_id)); in get_driver_id_sha1_hash() 61 _mesa_sha1_final(&sha1_ctx, sha1); in get_driver_id_sha1_hash()
|
/third_party/mbedtls/library/ |
D | pkcs5.c | 365 mbedtls_md_context_t sha1_ctx; in mbedtls_pkcs5_self_test() local 370 mbedtls_md_init( &sha1_ctx ); in mbedtls_pkcs5_self_test() 379 if( ( ret = mbedtls_md_setup( &sha1_ctx, info_sha1, 1 ) ) != 0 ) in mbedtls_pkcs5_self_test() 390 ret = mbedtls_pkcs5_pbkdf2_hmac( &sha1_ctx, password_test_data[i], in mbedtls_pkcs5_self_test() 412 mbedtls_md_free( &sha1_ctx ); in mbedtls_pkcs5_self_test()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_screen.cpp | 1374 struct mesa_sha1 sha1_ctx; in d3d12_init_screen() local 1387 _mesa_sha1_init(&sha1_ctx); in d3d12_init_screen() 1388 _mesa_sha1_update(&sha1_ctx, &screen->vendor_id, sizeof(screen->vendor_id)); in d3d12_init_screen() 1389 _mesa_sha1_update(&sha1_ctx, &screen->device_id, sizeof(screen->device_id)); in d3d12_init_screen() 1390 _mesa_sha1_update(&sha1_ctx, &screen->subsys_id, sizeof(screen->subsys_id)); in d3d12_init_screen() 1391 _mesa_sha1_update(&sha1_ctx, &screen->revision, sizeof(screen->revision)); in d3d12_init_screen() 1392 _mesa_sha1_final(&sha1_ctx, sha1); in d3d12_init_screen()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_physical_device.c | 383 struct mesa_sha1 sha1_ctx; in vn_physical_device_init_uuids() local 388 _mesa_sha1_init(&sha1_ctx); in vn_physical_device_init_uuids() 389 _mesa_sha1_update(&sha1_ctx, &vk10_props->pipelineCacheUUID, in vn_physical_device_init_uuids() 391 _mesa_sha1_final(&sha1_ctx, sha1); in vn_physical_device_init_uuids() 395 _mesa_sha1_init(&sha1_ctx); in vn_physical_device_init_uuids() 396 _mesa_sha1_update(&sha1_ctx, &vk10_props->vendorID, in vn_physical_device_init_uuids() 398 _mesa_sha1_update(&sha1_ctx, &vk10_props->deviceID, in vn_physical_device_init_uuids() 400 _mesa_sha1_final(&sha1_ctx, sha1); in vn_physical_device_init_uuids() 404 _mesa_sha1_init(&sha1_ctx); in vn_physical_device_init_uuids() 405 _mesa_sha1_update(&sha1_ctx, vk12_props->driverName, in vn_physical_device_init_uuids() [all …]
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_screen.c | 956 struct mesa_sha1 sha1_ctx; in virgl_disk_cache_create() local 957 _mesa_sha1_init(&sha1_ctx); in virgl_disk_cache_create() 958 _mesa_sha1_update(&sha1_ctx, id_sha1, build_id_len); in virgl_disk_cache_create() 961 _mesa_sha1_update(&sha1_ctx, &shader_debug_flags, sizeof(shader_debug_flags)); in virgl_disk_cache_create() 965 _mesa_sha1_update(&sha1_ctx, &screen->caps, sizeof(screen->caps)); in virgl_disk_cache_create() 968 _mesa_sha1_final(&sha1_ctx, sha1); in virgl_disk_cache_create()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_device.c | 268 struct mesa_sha1 sha1_ctx; in dzn_physical_device_init_uuids() local 277 _mesa_sha1_init(&sha1_ctx); in dzn_physical_device_init_uuids() 278 _mesa_sha1_update(&sha1_ctx, mesa_version, strlen(mesa_version)); in dzn_physical_device_init_uuids() 279 disk_cache_get_function_identifier(dzn_physical_device_init_uuids, &sha1_ctx); in dzn_physical_device_init_uuids() 280 _mesa_sha1_update(&sha1_ctx, &pdev->options, sizeof(pdev->options)); in dzn_physical_device_init_uuids() 281 _mesa_sha1_update(&sha1_ctx, &pdev->options2, sizeof(pdev->options2)); in dzn_physical_device_init_uuids() 282 _mesa_sha1_final(&sha1_ctx, sha1); in dzn_physical_device_init_uuids() 294 _mesa_sha1_init(&sha1_ctx); in dzn_physical_device_init_uuids() 295 _mesa_sha1_update(&sha1_ctx, &pdev->desc.vendor_id, sizeof(pdev->desc.vendor_id)); in dzn_physical_device_init_uuids() 296 _mesa_sha1_update(&sha1_ctx, &pdev->desc.device_id, sizeof(pdev->desc.device_id)); in dzn_physical_device_init_uuids() [all …]
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf.c | 840 struct mesa_sha1 sha1_ctx; in intel_perf_store_configuration() local 841 _mesa_sha1_init(&sha1_ctx); in intel_perf_store_configuration() 844 _mesa_sha1_update(&sha1_ctx, config->flex_regs, in intel_perf_store_configuration() 849 _mesa_sha1_update(&sha1_ctx, config->mux_regs, in intel_perf_store_configuration() 854 _mesa_sha1_update(&sha1_ctx, config->b_counter_regs, in intel_perf_store_configuration() 860 _mesa_sha1_final(&sha1_ctx, hash); in intel_perf_store_configuration()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 667 struct mesa_sha1 sha1_ctx; in init_uuids() local 674 _mesa_sha1_init(&sha1_ctx); in init_uuids() 675 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in init_uuids() 676 _mesa_sha1_update(&sha1_ctx, &device_id, sizeof(device_id)); in init_uuids() 677 _mesa_sha1_final(&sha1_ctx, sha1); in init_uuids() 691 _mesa_sha1_init(&sha1_ctx); in init_uuids() 692 _mesa_sha1_update(&sha1_ctx, &vendor_id, sizeof(vendor_id)); in init_uuids() 693 _mesa_sha1_update(&sha1_ctx, &device_id, sizeof(device_id)); in init_uuids() 694 _mesa_sha1_final(&sha1_ctx, sha1); in init_uuids()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 554 struct mesa_sha1 sha1_ctx; in anv_physical_device_init_uuids() local 561 _mesa_sha1_init(&sha1_ctx); in anv_physical_device_init_uuids() 562 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in anv_physical_device_init_uuids() 563 _mesa_sha1_update(&sha1_ctx, &device->info.pci_device_id, in anv_physical_device_init_uuids() 565 _mesa_sha1_update(&sha1_ctx, &device->always_use_bindless, in anv_physical_device_init_uuids() 567 _mesa_sha1_update(&sha1_ctx, &device->has_a64_buffer_access, in anv_physical_device_init_uuids() 569 _mesa_sha1_update(&sha1_ctx, &device->has_bindless_images, in anv_physical_device_init_uuids() 571 _mesa_sha1_update(&sha1_ctx, &device->has_bindless_samplers, in anv_physical_device_init_uuids() 573 _mesa_sha1_final(&sha1_ctx, sha1); in anv_physical_device_init_uuids()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_device.c | 254 struct mesa_sha1 sha1_ctx; in pvr_physical_device_init_uuids() local 276 _mesa_sha1_init(&sha1_ctx); in pvr_physical_device_init_uuids() 277 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in pvr_physical_device_init_uuids() 278 _mesa_sha1_update(&sha1_ctx, &bvnc, sizeof(bvnc)); in pvr_physical_device_init_uuids() 279 _mesa_sha1_final(&sha1_ctx, sha1); in pvr_physical_device_init_uuids()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 2558 struct mesa_sha1 sha1_ctx; in link_intrastage_shaders() local 2559 _mesa_sha1_init(&sha1_ctx); in link_intrastage_shaders() 2565 _mesa_sha1_update(&sha1_ctx, shader_list[i]->compiled_source_sha1, in link_intrastage_shaders() 2568 _mesa_sha1_final(&sha1_ctx, linked->linked_source_sha1); in link_intrastage_shaders()
|