Home
last modified time | relevance | path

Searched refs:SHA1_DIGEST_LENGTH (Results 1 – 25 of 25) sorted by relevance

/third_party/mesa3d/src/util/
Dmesa-sha1.c70 sha1_to_uint32(const uint8_t sha1[SHA1_DIGEST_LENGTH], in sha1_to_uint32() argument
73 memset(out, 0, SHA1_DIGEST_LENGTH); in sha1_to_uint32()
75 for (unsigned i = 0; i < SHA1_DIGEST_LENGTH; i++) in sha1_to_uint32()
80 _mesa_sha1_print(FILE *f, const uint8_t sha1[SHA1_DIGEST_LENGTH]) in _mesa_sha1_print() argument
82 uint32_t u32[SHA1_DIGEST_LENGTH]; in _mesa_sha1_print()
93 _mesa_printed_sha1_equal(const uint8_t sha1[SHA1_DIGEST_LENGTH], in _mesa_printed_sha1_equal() argument
Dos_memory_fd.c55 get_driver_id_sha1_hash(uint8_t sha1[SHA1_DIGEST_LENGTH], const char *driver_id) { in get_driver_id_sha1_hash() argument
80 uint8_t sha1[SHA1_DIGEST_LENGTH]; in os_import_memory_fd()
83 assert(SHA1_DIGEST_LENGTH >= UUID_SIZE); in os_import_memory_fd()
152 uint8_t sha1[SHA1_DIGEST_LENGTH]; in os_malloc_aligned_fd()
155 assert(SHA1_DIGEST_LENGTH >= UUID_SIZE); in os_malloc_aligned_fd()
Dmesa-sha1.h36 #define SHA1_DIGEST_LENGTH32 (SHA1_DIGEST_LENGTH / 4)
66 _mesa_sha1_print(FILE *f, const uint8_t sha1[SHA1_DIGEST_LENGTH]);
69 _mesa_printed_sha1_equal(const uint8_t sha1[SHA1_DIGEST_LENGTH],
Dxmlconfig.c724 uint8_t sha1x[SHA1_DIGEST_LENGTH]; in parseAppAttr()
/third_party/mesa3d/src/freedreno/common/
Dfreedreno_uuid.c53 uint8_t sha1[SHA1_DIGEST_LENGTH]; in fd_get_driver_uuid()
56 assert(SHA1_DIGEST_LENGTH >= UUID_SIZE); in fd_get_driver_uuid()
89 uint8_t sha1[SHA1_DIGEST_LENGTH]; in fd_get_device_uuid()
92 assert(SHA1_DIGEST_LENGTH >= UUID_SIZE); in fd_get_device_uuid()
/third_party/mesa3d/src/util/sha1/
Dsha1.h16 #define SHA1_DIGEST_LENGTH 20 macro
17 #define SHA1_DIGEST_STRING_LENGTH (SHA1_DIGEST_LENGTH * 2 + 1)
33 void SHA1Final(uint8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *);
Dsha1.c164 SHA1Final(uint8_t digest[SHA1_DIGEST_LENGTH], SHA1_CTX *context) in SHA1Final() argument
169 for (i = 0; i < SHA1_DIGEST_LENGTH; i++) { in SHA1Final()
/third_party/mesa3d/src/mesa/main/
Dshader_types.h158 uint8_t disk_cache_sha1[SHA1_DIGEST_LENGTH];
160 uint8_t source_sha1[SHA1_DIGEST_LENGTH];
162 uint8_t fallback_source_sha1[SHA1_DIGEST_LENGTH];
164 uint8_t compiled_source_sha1[SHA1_DIGEST_LENGTH];
240 uint8_t linked_source_sha1[SHA1_DIGEST_LENGTH];
Dshaderapi.h181 const uint8_t sha1[SHA1_DIGEST_LENGTH]);
185 const uint8_t sha1[SHA1_DIGEST_LENGTH]);
Dshaderapi.c1153 const uint8_t original_sha1[SHA1_DIGEST_LENGTH]) in set_shader_source() argument
1172 memcpy(sh->fallback_source_sha1, sh->source_sha1, SHA1_DIGEST_LENGTH); in set_shader_source()
1180 memcpy(sh->source_sha1, original_sha1, SHA1_DIGEST_LENGTH); in set_shader_source()
1957 const uint8_t sha1[SHA1_DIGEST_LENGTH]) in _mesa_dump_shader_source() argument
1996 const uint8_t sha1[SHA1_DIGEST_LENGTH]) in _mesa_read_shader_source() argument
2144 uint8_t original_sha1[SHA1_DIGEST_LENGTH]; in shader_source()
Darbprogram.c384 uint8_t sha1[SHA1_DIGEST_LENGTH]; in set_program_string()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_pipeline.c79 uint8_t hash[SHA1_DIGEST_LENGTH];
117 assert(key_size == SHA1_DIGEST_LENGTH); in dzn_cached_blob_deserialize()
205 *nir = vk_pipeline_cache_lookup_nir(cache, hash, SHA1_DIGEST_LENGTH, in dzn_pipeline_get_nir_shader()
269 vk_pipeline_cache_add_nir(cache, hash, SHA1_DIGEST_LENGTH, *nir); in dzn_pipeline_get_nir_shader()
459 vk_pipeline_cache_lookup_object(cache, dxil_hash, SHA1_DIGEST_LENGTH, in dzn_pipeline_cache_lookup_dxil_shader()
540 vk_pipeline_cache_lookup_object(cache, pipeline_hash, SHA1_DIGEST_LENGTH, in dzn_pipeline_cache_lookup_gfx_pipeline()
572 assert(cached_blob->size == offset + util_bitcount(info->stages) * SHA1_DIGEST_LENGTH); in dzn_pipeline_cache_lookup_gfx_pipeline()
587 offset += SHA1_DIGEST_LENGTH; in dzn_pipeline_cache_lookup_gfx_pipeline()
611 offset += SHA1_DIGEST_LENGTH; in dzn_pipeline_cache_add_gfx_pipeline()
641 memcpy(dxil_hash, dxil_hashes[s], SHA1_DIGEST_LENGTH); in dzn_pipeline_cache_add_gfx_pipeline()
[all …]
Ddzn_private.h673 uint8_t hash[SHA1_DIGEST_LENGTH];
Ddzn_device.c269 uint8_t sha1[SHA1_DIGEST_LENGTH]; in dzn_physical_device_init_uuids()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_shader_module.c82 pIdentifier->identifierSize = SHA1_DIGEST_LENGTH; in vk_common_GetShaderModuleCreateInfoIdentifierEXT()
Dvk_pipeline.c179 unsigned char spirv_sha1[SHA1_DIGEST_LENGTH]; in vk_pipeline_hash_shader_stage()
/third_party/mesa3d/src/compiler/
Dshader_info.h135 uint8_t source_sha1[SHA1_DIGEST_LENGTH];
/third_party/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.cpp2160 const uint8_t source_sha1[SHA1_DIGEST_LENGTH], in can_skip_compile() argument
2185 SHA1_DIGEST_LENGTH); in can_skip_compile()
2190 SHA1_DIGEST_LENGTH); in can_skip_compile()
2319 memcpy(shader->fallback_source_sha1, source_sha1, SHA1_DIGEST_LENGTH); in _mesa_glsl_compile_shader()
2329 memcpy(shader->compiled_source_sha1, source_sha1, SHA1_DIGEST_LENGTH); in _mesa_glsl_compile_shader()
Dlinker.cpp2556 SHA1_DIGEST_LENGTH); in link_intrastage_shaders()
2566 SHA1_DIGEST_LENGTH); in link_intrastage_shaders()
/third_party/toybox/toys/lsb/
Dmd5sum.c244 #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH macro
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp730 SHA1_DIGEST_LENGTH); in st_link_nir()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_screen.cpp1375 uint8_t sha1[SHA1_DIGEST_LENGTH]; in d3d12_init_screen()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_physical_device.c384 uint8_t sha1[SHA1_DIGEST_LENGTH]; in vn_physical_device_init_uuids()
386 static_assert(VK_UUID_SIZE <= SHA1_DIGEST_LENGTH, ""); in vn_physical_device_init_uuids()
/third_party/mesa3d/src/amd/vulkan/
Dradv_private.h2220 uint8_t sha1[SHA1_DIGEST_LENGTH];
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c2604 unsigned char stage_hash[SHA1_DIGEST_LENGTH]; in tu_hash_stage()