Searched refs:SHA1_HASH_SIZE (Results 1 – 5 of 5) sorted by relevance
35 #define SHA1_HASH_SIZE ( 160 / 8 ) macro39 uint8_t bytes [SHA1_HASH_SIZE];
1017 uint8_t read_digest[SHA1_HASH_SIZE]; in get_digests_all_partial_matches()1019 read_digest, SHA1_HASH_SIZE in get_digests_all_partial_matches()1024 uint8_t hash_digest[SHA1_HASH_SIZE]; in get_digests_all_partial_matches()1030 *digest_len = SHA1_HASH_SIZE; in get_digests_all_partial_matches()1032 if (read_size == SHA1_HASH_SIZE) { in get_digests_all_partial_matches()1033 *xattr_digest = calloc(1, SHA1_HASH_SIZE + 1); in get_digests_all_partial_matches()1037 memcpy(*xattr_digest, read_digest, SHA1_HASH_SIZE); in get_digests_all_partial_matches()1041 *calculated_digest = calloc(1, SHA1_HASH_SIZE + 1); in get_digests_all_partial_matches()1045 memcpy(*calculated_digest, hash_digest, SHA1_HASH_SIZE); in get_digests_all_partial_matches()1048 if (status && read_size == SHA1_HASH_SIZE && in get_digests_all_partial_matches()[all …]
55 #define DIGEST_SPECFILE_SIZE SHA1_HASH_SIZE
757 uint8_t digest[SHA1_HASH_SIZE];1107 SHA1_HASH_SIZE, 0) < 0) { in selinux_restorecon()
216 for (i = 0; i < SHA1_HASH_SIZE; i++) in Sha1Finalise()