Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Dsha1.h35 #define SHA1_HASH_SIZE ( 160 / 8 ) macro
39 uint8_t bytes [SHA1_HASH_SIZE];
Dlabel_file.c1089 uint8_t read_digest[SHA1_HASH_SIZE]; in get_digests_all_partial_matches()
1091 read_digest, SHA1_HASH_SIZE in get_digests_all_partial_matches()
1096 uint8_t hash_digest[SHA1_HASH_SIZE]; in get_digests_all_partial_matches()
1102 *digest_len = SHA1_HASH_SIZE; in get_digests_all_partial_matches()
1104 if (read_size == SHA1_HASH_SIZE) { in get_digests_all_partial_matches()
1105 *xattr_digest = calloc(1, SHA1_HASH_SIZE + 1); in get_digests_all_partial_matches()
1109 memcpy(*xattr_digest, read_digest, SHA1_HASH_SIZE); in get_digests_all_partial_matches()
1113 *calculated_digest = calloc(1, SHA1_HASH_SIZE + 1); in get_digests_all_partial_matches()
1117 memcpy(*calculated_digest, hash_digest, SHA1_HASH_SIZE); in get_digests_all_partial_matches()
1120 if (status && read_size == SHA1_HASH_SIZE && in get_digests_all_partial_matches()
[all …]
Dlabel_internal.h55 #define DIGEST_SPECFILE_SIZE SHA1_HASH_SIZE
Dsha1.c216 for (i = 0; i < SHA1_HASH_SIZE; i++) in Sha1Finalise()
Dselinux_restorecon.c796 uint8_t digest[SHA1_HASH_SIZE];
1285 SHA1_HASH_SIZE, 0) < 0) { in selinux_restorecon_common()