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];
56 #define DIGEST_SPECFILE_SIZE SHA1_HASH_SIZE
216 for( i=0; i<SHA1_HASH_SIZE; i++ ) in Sha1Finalise()
1049 memcpy(digest, sha1_hash.bytes, SHA1_HASH_SIZE); in hash_all_partial_matches()
1512 uint8_t digest[SHA1_HASH_SIZE];1521 uint8_t read_digest[SHA1_HASH_SIZE]; in check_context_match_for_dir()1523 read_digest, SHA1_HASH_SIZE); in check_context_match_for_dir()1524 uint8_t calculated_digest[SHA1_HASH_SIZE]; in check_context_match_for_dir()1532 if (!force && status && read_size == SHA1_HASH_SIZE && in check_context_match_for_dir()1533 memcmp(read_digest, calculated_digest, SHA1_HASH_SIZE) == 0) { in check_context_match_for_dir()1554 memcpy((*new_node)->digest, calculated_digest, SHA1_HASH_SIZE); in check_context_match_for_dir()1747 SHA1_HASH_SIZE, 0) < 0) { in selinux_android_restorecon_common()