Home
last modified time | relevance | path

Searched refs:calculated_digest (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libselinux/utils/
Dselabel_get_digests_all_partial_matches.c39 uint8_t *calculated_digest = NULL; in main() local
99 calculated_digest = NULL; in main()
104 &calculated_digest, in main()
119 if (calculated_digest) { in main()
123 calculated_digest[i]); in main()
127 if (!calculated_digest) { in main()
139 calculated_digest[i]); in main()
154 free(calculated_digest); in main()
/external/selinux/libselinux/src/
Dselinux_restorecon.c301 uint8_t *calculated_digest = NULL; in add_xattr_entry() local
309 &calculated_digest, in add_xattr_entry()
313 free(calculated_digest); in add_xattr_entry()
321 free(calculated_digest); in add_xattr_entry()
328 rc = memcmp(calculated_digest, xattr_digest, digest_len); in add_xattr_entry()
343 free(calculated_digest); in add_xattr_entry()
754 uint8_t *calculated_digest = NULL; in check_context_match_for_dir() local
763 &calculated_digest, in check_context_match_for_dir()
771 if (!error && calculated_digest) { in check_context_match_for_dir()
784 memcpy((*new_node)->digest, calculated_digest, digest_len); in check_context_match_for_dir()
[all …]
Dlabel.c288 uint8_t **calculated_digest, in selabel_get_digests_all_partial_matches() argument
296 calculated_digest, in selabel_get_digests_all_partial_matches()
Dlabel_internal.h92 uint8_t **calculated_digest,
Dlabel_file.c1032 uint8_t **calculated_digest, in get_digests_all_partial_matches() argument
1048 *calculated_digest = NULL; in get_digests_all_partial_matches()
1060 *calculated_digest = calloc(1, SHA1_HASH_SIZE + 1); in get_digests_all_partial_matches()
1061 if (!*calculated_digest) in get_digests_all_partial_matches()
1064 memcpy(*calculated_digest, hash_digest, SHA1_HASH_SIZE); in get_digests_all_partial_matches()
/external/selinux/libselinux/include/selinux/
Dlabel.h113 uint8_t **calculated_digest,
/external/selinux/libselinux/src/android/
Dandroid_platform.c1381 uint8_t calculated_digest[SHA1_HASH_SIZE]; in check_context_match_for_dir() local
1383 calculated_digest); in check_context_match_for_dir()
1390 memcmp(read_digest, calculated_digest, SHA1_HASH_SIZE) == 0) { in check_context_match_for_dir()
1411 memcpy((*new_node)->digest, calculated_digest, SHA1_HASH_SIZE); in check_context_match_for_dir()