Home
last modified time | relevance | path

Searched refs:SHA1_HASH_SIZE (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libselinux/src/
Dsha1.h35 #define SHA1_HASH_SIZE ( 160 / 8 ) macro
39 uint8_t bytes [SHA1_HASH_SIZE];
Dlabel_internal.h56 #define DIGEST_SPECFILE_SIZE SHA1_HASH_SIZE
Dsha1.c216 for( i=0; i<SHA1_HASH_SIZE; i++ ) in Sha1Finalise()
Dlabel_file.c1049 memcpy(digest, sha1_hash.bytes, SHA1_HASH_SIZE); in hash_all_partial_matches()
/external/selinux/libselinux/src/android/
Dandroid_platform.c1512 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()