HomeSort by: relevance | last modified time | path
    Searched refs:sha1 (Results 1 - 25 of 126) sorted by relevancy

1 2 3 4 5 6

  /xsrc/external/mit/MesaLib/dist/src/util/
mesa-sha1_test.c 29 #include "mesa-sha1.h"
37 const char *sha1; member in struct:__anon2880
48 unsigned char sha1[20]; local
50 sha1);
53 _mesa_sha1_format(buf, sha1);
55 if (memcmp(test_data[i].sha1, buf, SHA1_LENGTH) != 0) {
59 test_data[i].sha1, buf);
mesa-sha1.c 27 #include "sha1/sha1.h"
28 #include "mesa-sha1.h"
41 _mesa_sha1_format(char *buf, const unsigned char *sha1)
47 buf[i] = hex_digits[sha1[i >> 1] >> 4];
48 buf[i + 1] = hex_digits[sha1[i >> 1] & 0x0f];
os_memory_fd.c 41 #include "mesa-sha1.h"
55 get_driver_id_sha1_hash(uint8_t sha1[SHA1_DIGEST_LENGTH], const char *driver_id) {
61 _mesa_sha1_final(&sha1_ctx, sha1);
80 uint8_t sha1[SHA1_DIGEST_LENGTH];
81 get_driver_id_sha1_hash(sha1, driver_id);
84 if (memcmp(header.uuid, sha1, UUID_SIZE)) {
152 uint8_t sha1[SHA1_DIGEST_LENGTH]; local
153 get_driver_id_sha1_hash(sha1, driver_id);
156 memcpy(header->uuid, sha1, UUID_SIZE);
mesa-sha1.h 28 #include "sha1/sha1.h"
55 _mesa_sha1_format(char *buf, const unsigned char *sha1);
  /xsrc/external/mit/MesaLib.old/dist/src/util/
mesa-sha1_test.c 29 #include "mesa-sha1.h"
37 const char *sha1; member in struct:__anon5040
48 unsigned char sha1[20]; local
50 sha1);
53 _mesa_sha1_format(buf, sha1);
55 if (memcmp(test_data[i].sha1, buf, SHA1_LENGTH) != 0) {
59 test_data[i].sha1, buf);
mesa-sha1.c 27 #include "sha1/sha1.h"
28 #include "mesa-sha1.h"
41 _mesa_sha1_format(char *buf, const unsigned char *sha1)
47 buf[i] = hex_digits[sha1[i >> 1] >> 4];
48 buf[i + 1] = hex_digits[sha1[i >> 1] & 0x0f];
mesa-sha1.h 28 #include "sha1/sha1.h"
55 _mesa_sha1_format(char *buf, const unsigned char *sha1);
  /xsrc/external/mit/MesaLib/dist/src/intel/common/
intel_uuid.c 26 #include "util/mesa-sha1.h"
34 uint8_t sha1[20]; local
37 assert(size <= sizeof(sha1));
50 _mesa_sha1_final(&sha1_ctx, sha1);
51 memcpy(uuid, sha1, size);
61 uint8_t sha1[20]; local
63 assert(size <= sizeof(sha1));
73 _mesa_sha1_final(&sha1_ctx, sha1);
74 memcpy(uuid, sha1, size);
  /xsrc/external/mit/MesaLib/dist/src/freedreno/common/
freedreno_uuid.c 31 #include "util/mesa-sha1.h"
53 uint8_t sha1[SHA1_DIGEST_LENGTH]; local
54 _mesa_sha1_final(&sha1_ctx, sha1);
57 memcpy(uuid, sha1, UUID_SIZE);
68 * UUID, so we use SHA1("freedreno" + gpu_id).
89 uint8_t sha1[SHA1_DIGEST_LENGTH]; local
90 _mesa_sha1_final(&sha1_ctx, sha1);
93 memcpy(uuid, sha1, UUID_SIZE);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
lima_disk_cache.c 30 #include "util/mesa-sha1.h"
48 char sha1[41]; local
49 _mesa_sha1_format(sha1, cache_key);
50 fprintf(stderr, "[mesa disk cache] storing %s\n", sha1);
76 char sha1[41]; local
77 _mesa_sha1_format(sha1, cache_key);
78 fprintf(stderr, "[mesa disk cache] storing %s\n", sha1);
104 char sha1[41]; local
105 _mesa_sha1_format(sha1, cache_key);
106 fprintf(stderr, "[mesa disk cache] retrieving %s: ", sha1);
156 char sha1[41]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
shader_cache.cpp 62 #include "util/mesa-sha1.h"
100 static const char zero[sizeof(prog->data->sha1)] = {0};
101 if (memcmp(prog->data->sha1, zero, sizeof(prog->data->sha1)) == 0)
127 memcpy(cache_item_metadata.keys[i], prog->Shaders[i]->sha1,
131 disk_cache_put(cache, prog->data->sha1, metadata.data, metadata.size,
136 _mesa_sha1_format(sha1_buf, prog->data->sha1);
159 /* Include bindings when creating sha1. These bindings change the resulting
199 * include them as an input to sha1 creation.
207 _mesa_sha1_format(sha1buf, sh->sha1);
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
shader_cache.cpp 60 #include "util/mesa-sha1.h"
98 static const char zero[sizeof(prog->data->sha1)] = {0};
99 if (memcmp(prog->data->sha1, zero, sizeof(prog->data->sha1)) == 0)
125 memcpy(cache_item_metadata.keys[i], prog->Shaders[i]->sha1,
129 disk_cache_put(cache, prog->data->sha1, metadata.data, metadata.size,
134 _mesa_sha1_format(sha1_buf, prog->data->sha1);
157 /* Include bindings when creating sha1. These bindings change the resulting
197 * include them as an input to sha1 creation.
205 _mesa_sha1_format(sha1buf, sh->sha1);
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
u_live_shader_cache.c 35 #include "util/mesa-sha1.h"
39 /* Take the first dword of SHA1. */
99 /* Compute SHA1 of pipe_shader_state. */
101 unsigned char sha1[20]; local
111 _mesa_sha1_final(&sha1_ctx, sha1);
118 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, sha1);
143 memcpy(shader->sha1, sha1, sizeof(sha1));
149 struct hash_entry *entry2 = _mesa_hash_table_search(cache->hashtable, sha1);
    [all...]
u_live_shader_cache.h 68 unsigned char sha1[20]; member in struct:util_live_shader
  /xsrc/external/mit/MesaLib/dist/src/vulkan/util/
vk_shader_module.h 39 unsigned char sha1[20]; member in struct:vk_shader_module
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
program_binary.c 47 * defined has one uint32_t value of 0, followed by 20 bytes specifying a sha1
52 /* If internal_format is 0, it must be followed by the 20 byte sha1 that
54 * something besides a sha1, then a new internal_format value can be added.
57 uint8_t sha1[20]; member in struct:program_binary_header
58 /* Fields following sha1 can be changed since the sha1 will guarantee that
76 const void *sha1, void *binary, unsigned binary_size,
91 memcpy(hdr->sha1, sha1, sizeof(hdr->sha1));
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
program_binary.c 47 * defined has one uint32_t value of 0, followed by 20 bytes specifying a sha1
52 /* If internal_format is 0, it must be followed by the 20 byte sha1 that
54 * something besides a sha1, then a new internal_format value can be added.
57 uint8_t sha1[20]; member in struct:program_binary_header
58 /* Fields following sha1 can be changed since the sha1 will guarantee that
76 const void *sha1, void *binary, unsigned binary_size,
91 memcpy(hdr->sha1, sha1, sizeof(hdr->sha1));
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_pipeline_cache.c 27 #include "util/mesa-sha1.h"
36 unsigned char sha1[20]; member in union:cache_entry::__anon529
128 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
135 _mesa_sha1_update(&ctx, module->sha1, sizeof(module->sha1));
157 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
163 _mesa_sha1_update(&ctx, module->sha1, sizeof(module->sha1));
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
ir3_disk_cache.c 57 assert(note && build_id_length(note) == 20); /* sha1 */
173 char sha1[41]; local
174 _mesa_sha1_format(sha1, cache_key);
175 fprintf(stderr, "[mesa disk cache] retrieving variant %s: ", sha1);
212 char sha1[41]; local
213 _mesa_sha1_format(sha1, cache_key);
214 fprintf(stderr, "[mesa disk cache] storing variant %s\n", sha1);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
etnaviv_disk_cache.c 45 assert(note && build_id_length(note) == 20); /* sha1 */
137 char sha1[41]; local
139 _mesa_sha1_format(sha1, cache_key);
140 fprintf(stderr, "[mesa disk cache] retrieving variant %s: ", sha1);
173 char sha1[41]; local
175 _mesa_sha1_format(sha1, cache_key);
176 fprintf(stderr, "[mesa disk cache] storing variant %s\n", sha1);
  /xsrc/external/mit/xorg-server/dist/render/
glyphstr.h 45 unsigned char sha1[20]; member in struct:_Glyph
96 extern GlyphPtr FindGlyphByHash(unsigned char sha1[20], int format);
100 CARD8 *bits, unsigned long size, unsigned char sha1[20]);
  /xsrc/external/mit/xorg-server.old/dist/render/
glyphstr.h 45 unsigned char sha1[20]; member in struct:_Glyph
103 unsigned char sha1[20]);
106 FindGlyphByHash (unsigned char sha1[20], int format);
112 unsigned char sha1[20]);
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
radv_pipeline_cache.c 24 #include "util/mesa-sha1.h"
42 unsigned char sha1[20]; member in union:cache_entry::__anon3233
114 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
121 _mesa_sha1_update(&ctx, module->sha1, sizeof(module->sha1));
137 const unsigned char *sha1)
140 const uint32_t start = (*(uint32_t *) sha1);
152 if (memcmp(entry->sha1, sha1, sizeof(entry->sha1)) == 0)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
tu_pipeline_cache.c 28 #include "util/mesa-sha1.h"
38 unsigned char sha1[20]; member in union:cache_entry::__anon3512
104 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
112 _mesa_sha1_update(&ctx, module->sha1, sizeof(module->sha1));
128 const unsigned char *sha1)
131 const uint32_t start = (*(uint32_t *) sha1);
143 if (memcmp(entry->sha1, sha1, sizeof(entry->sha1)) == 0)
    [all...]
  /xsrc/external/mit/xorg-server/dist/os/
xsha1.c 36 #if defined(HAVE_SHA1_IN_LIBMD) /* Use libmd for SHA1 */ \
37 || defined(HAVE_SHA1_IN_LIBC) /* Use libc for SHA1 */
47 #include <sha1.h>
80 #elif defined(HAVE_SHA1_IN_COMMONCRYPTO) /* Use CommonCrypto for SHA1 */
114 #elif defined(HAVE_SHA1_IN_CRYPTOAPI) /* Use CryptoAPI for SHA1 */
156 #elif defined(HAVE_SHA1_IN_LIBNETTLE) /* Use libnettle for SHA1 */
158 #include <nettle/sha1.h>
191 #elif defined(HAVE_SHA1_IN_LIBGCRYPT) /* Use libgcrypt for SHA1 */
280 static EVP_MD *sha1 = NULL; variable
290 if (sha1 == NULL)
    [all...]

Completed in 22 milliseconds

1 2 3 4 5 6