Searched refs:SHA1_DIGEST_LENGTH (Results 1 – 6 of 6) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | mesa-sha1.c | 46 mesa_bytes_to_hex(buf, sha1, SHA1_DIGEST_LENGTH); in _mesa_sha1_format() 55 mesa_hex_to_bytes(buf, hex, SHA1_DIGEST_LENGTH); in _mesa_sha1_hex_to_sha1() 59 sha1_to_uint32(const uint8_t sha1[SHA1_DIGEST_LENGTH], in sha1_to_uint32() argument 62 memset(out, 0, SHA1_DIGEST_LENGTH); in sha1_to_uint32() 64 for (unsigned i = 0; i < SHA1_DIGEST_LENGTH; i++) in sha1_to_uint32() 69 _mesa_sha1_print(FILE *f, const uint8_t sha1[SHA1_DIGEST_LENGTH]) in _mesa_sha1_print() argument 71 uint32_t u32[SHA1_DIGEST_LENGTH]; in _mesa_sha1_print() 80 _mesa_printed_sha1_equal(const uint8_t sha1[SHA1_DIGEST_LENGTH], in _mesa_printed_sha1_equal() argument
|
D | mesa-sha1.h | 36 #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],
|
D | os_memory_fd.c | 59 get_driver_id_sha1_hash(uint8_t sha1[SHA1_DIGEST_LENGTH], const char *driver_id) { in get_driver_id_sha1_hash() argument 84 uint8_t sha1[SHA1_DIGEST_LENGTH]; in os_import_memory_fd() 87 assert(SHA1_DIGEST_LENGTH >= UUID_SIZE); in os_import_memory_fd() 156 uint8_t sha1[SHA1_DIGEST_LENGTH]; in os_malloc_aligned_fd() 159 assert(SHA1_DIGEST_LENGTH >= UUID_SIZE); in os_malloc_aligned_fd()
|
D | xmlconfig.c | 729 uint8_t sha1x[SHA1_DIGEST_LENGTH]; in parseAppAttr()
|
/hardware/google/gfxstream/guest/mesa/src/util/sha1/ |
D | sha1.h | 16 #define SHA1_DIGEST_LENGTH 20 macro 17 #define SHA1_DIGEST_STRING_LENGTH (SHA1_DIGEST_LENGTH * 2 + 1) 31 void SHA1Final(uint8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *);
|
D | sha1.c | 164 SHA1Final(uint8_t digest[SHA1_DIGEST_LENGTH], SHA1_CTX *context) in SHA1Final() argument 169 for (i = 0; i < SHA1_DIGEST_LENGTH; i++) { in SHA1Final()
|