Home
last modified time | relevance | path

Searched refs:xattr_digest (Results 1 – 6 of 6) sorted by relevance

/external/selinux/libselinux/utils/
Dselabel_get_digests_all_partial_matches.c38 uint8_t *xattr_digest = NULL; in main() local
98 xattr_digest = NULL; in main()
105 &xattr_digest, in main()
142 if (!xattr_digest) { in main()
149 xattr_digest[i]); in main()
153 free(xattr_digest); in main()
/external/selinux/libselinux/src/
Dselinux_restorecon.c300 uint8_t *xattr_digest = NULL; in add_xattr_entry() local
310 &xattr_digest, &digest_len); in add_xattr_entry()
312 if (!xattr_digest || !digest_len) { in add_xattr_entry()
320 free(xattr_digest); in add_xattr_entry()
326 sprintf((&sha1_buf[i * 2]), "%02x", xattr_digest[i]); in add_xattr_entry()
328 rc = memcmp(calculated_digest, xattr_digest, digest_len); in add_xattr_entry()
342 free(xattr_digest); in add_xattr_entry()
Dlabel.c289 uint8_t **xattr_digest, in selabel_get_digests_all_partial_matches() argument
297 xattr_digest, in selabel_get_digests_all_partial_matches()
Dlabel_internal.h93 uint8_t **xattr_digest,
Dlabel_file.c1033 uint8_t **xattr_digest, in get_digests_all_partial_matches() argument
1047 *xattr_digest = NULL; in get_digests_all_partial_matches()
1052 *xattr_digest = calloc(1, SHA1_HASH_SIZE + 1); in get_digests_all_partial_matches()
1053 if (!*xattr_digest) in get_digests_all_partial_matches()
1056 memcpy(*xattr_digest, read_digest, SHA1_HASH_SIZE); in get_digests_all_partial_matches()
/external/selinux/libselinux/include/selinux/
Dlabel.h114 uint8_t **xattr_digest,