/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/mesa3d/src/intel/common/ |
D | intel_uuid.c | 33 struct mesa_sha1 sha1_ctx; in intel_uuid_compute_device_id() local 45 _mesa_sha1_init(&sha1_ctx); in intel_uuid_compute_device_id() 46 _mesa_sha1_update(&sha1_ctx, &devinfo->chipset_id, in intel_uuid_compute_device_id() 48 _mesa_sha1_update(&sha1_ctx, &isldev->has_bit6_swizzling, in intel_uuid_compute_device_id() 50 _mesa_sha1_final(&sha1_ctx, sha1); in intel_uuid_compute_device_id() 60 struct mesa_sha1 sha1_ctx; in intel_uuid_compute_driver_id() local 71 _mesa_sha1_init(&sha1_ctx); in intel_uuid_compute_driver_id() 72 _mesa_sha1_update(&sha1_ctx, intelDriver, strlen(intelDriver) * sizeof(char)); in intel_uuid_compute_driver_id() 73 _mesa_sha1_final(&sha1_ctx, sha1); in intel_uuid_compute_driver_id()
|
/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/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/virtio/vulkan/ |
D | vn_physical_device.c | 350 struct mesa_sha1 sha1_ctx; in vn_physical_device_init_uuids() local 355 _mesa_sha1_init(&sha1_ctx); in vn_physical_device_init_uuids() 356 _mesa_sha1_update(&sha1_ctx, &props->pipelineCacheUUID, in vn_physical_device_init_uuids() 358 _mesa_sha1_final(&sha1_ctx, sha1); in vn_physical_device_init_uuids() 362 _mesa_sha1_init(&sha1_ctx); in vn_physical_device_init_uuids() 363 _mesa_sha1_update(&sha1_ctx, &props->vendorID, sizeof(props->vendorID)); in vn_physical_device_init_uuids() 364 _mesa_sha1_update(&sha1_ctx, &props->deviceID, sizeof(props->deviceID)); in vn_physical_device_init_uuids() 365 _mesa_sha1_final(&sha1_ctx, sha1); in vn_physical_device_init_uuids() 369 _mesa_sha1_init(&sha1_ctx); in vn_physical_device_init_uuids() 370 _mesa_sha1_update(&sha1_ctx, vk12_props->driverName, in vn_physical_device_init_uuids() [all …]
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf.c | 821 struct mesa_sha1 sha1_ctx; in intel_perf_store_configuration() local 822 _mesa_sha1_init(&sha1_ctx); in intel_perf_store_configuration() 825 _mesa_sha1_update(&sha1_ctx, config->flex_regs, in intel_perf_store_configuration() 830 _mesa_sha1_update(&sha1_ctx, config->mux_regs, in intel_perf_store_configuration() 835 _mesa_sha1_update(&sha1_ctx, config->b_counter_regs, in intel_perf_store_configuration() 841 _mesa_sha1_final(&sha1_ctx, hash); in intel_perf_store_configuration()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_screen.c | 920 struct mesa_sha1 sha1_ctx; in virgl_disk_cache_create() local 921 _mesa_sha1_init(&sha1_ctx); in virgl_disk_cache_create() 922 _mesa_sha1_update(&sha1_ctx, id_sha1, build_id_len); in virgl_disk_cache_create() 925 _mesa_sha1_update(&sha1_ctx, &shader_debug_flags, sizeof(shader_debug_flags)); in virgl_disk_cache_create() 928 _mesa_sha1_final(&sha1_ctx, sha1); in virgl_disk_cache_create()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_device.c | 639 struct mesa_sha1 sha1_ctx; in init_uuids() local 646 _mesa_sha1_init(&sha1_ctx); in init_uuids() 647 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in init_uuids() 648 _mesa_sha1_update(&sha1_ctx, &device_id, sizeof(device_id)); in init_uuids() 649 _mesa_sha1_final(&sha1_ctx, sha1); in init_uuids() 663 _mesa_sha1_init(&sha1_ctx); in init_uuids() 664 _mesa_sha1_update(&sha1_ctx, &vendor_id, sizeof(vendor_id)); in init_uuids() 665 _mesa_sha1_update(&sha1_ctx, &device_id, sizeof(device_id)); in init_uuids() 666 _mesa_sha1_final(&sha1_ctx, sha1); in init_uuids()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_device.c | 568 struct mesa_sha1 sha1_ctx; in anv_physical_device_init_uuids() local 575 _mesa_sha1_init(&sha1_ctx); in anv_physical_device_init_uuids() 576 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in anv_physical_device_init_uuids() 577 _mesa_sha1_update(&sha1_ctx, &device->info.chipset_id, in anv_physical_device_init_uuids() 579 _mesa_sha1_update(&sha1_ctx, &device->always_use_bindless, in anv_physical_device_init_uuids() 581 _mesa_sha1_update(&sha1_ctx, &device->has_a64_buffer_access, in anv_physical_device_init_uuids() 583 _mesa_sha1_update(&sha1_ctx, &device->has_bindless_images, in anv_physical_device_init_uuids() 585 _mesa_sha1_update(&sha1_ctx, &device->has_bindless_samplers, in anv_physical_device_init_uuids() 587 _mesa_sha1_final(&sha1_ctx, sha1); in anv_physical_device_init_uuids()
|