Home
last modified time | relevance | path

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

/third_party/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()
154 free(xattr_digest); in main()
/third_party/selinux/libselinux/src/
Dselinux_restorecon.c301 uint8_t *xattr_digest = NULL; in add_xattr_entry() local
310 &calculated_digest, &xattr_digest, in add_xattr_entry()
313 if (!xattr_digest || !digest_len) { in add_xattr_entry()
321 free(xattr_digest); in add_xattr_entry()
327 sprintf((&sha1_buf[i * 2]), "%02x", xattr_digest[i]); in add_xattr_entry()
341 free(xattr_digest); in add_xattr_entry()
Dlabel.c280 uint8_t **xattr_digest, in selabel_get_digests_all_partial_matches() argument
288 xattr_digest, in selabel_get_digests_all_partial_matches()
Dlabel_internal.h92 uint8_t **xattr_digest,
Dlabel_file.c1014 uint8_t **xattr_digest, in get_digests_all_partial_matches() argument
1028 *xattr_digest = NULL; in get_digests_all_partial_matches()
1033 *xattr_digest = calloc(1, SHA1_HASH_SIZE + 1); in get_digests_all_partial_matches()
1034 if (!*xattr_digest) in get_digests_all_partial_matches()
1037 memcpy(*xattr_digest, read_digest, SHA1_HASH_SIZE); in get_digests_all_partial_matches()
/third_party/selinux/libselinux/include/selinux/
Dlabel.h112 uint8_t **xattr_digest,