Lines Matching refs:sha1
49 * defined has one uint32_t value of 0, followed by 20 bytes specifying a sha1
54 /* If internal_format is 0, it must be followed by the 20 byte sha1 that
56 * something besides a sha1, then a new internal_format value can be added.
59 uint8_t sha1[20];
60 /* Fields following sha1 can be changed since the sha1 will guarantee that
78 const void *sha1, void *binary, unsigned binary_size,
93 memcpy(hdr->sha1, sha1, sizeof(hdr->sha1));
133 is_program_binary_valid(GLenum binary_format, const void *sha1,
143 if (memcmp(hdr->sha1, sha1, sizeof(hdr->sha1)) != 0)
163 get_program_binary_payload(GLenum binary_format, const void *sha1,
167 if (!is_program_binary_valid(binary_format, sha1, hdr, length))