Home
last modified time | relevance | path

Searched refs:selabel_digest (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libselinux/utils/
Dselabel_digest.c28 static int run_check_digest(char *cmd, char *selabel_digest) in run_check_digest() argument
47 rc = strncmp(selabel_digest, files_ptr + 1, digest_len * 2); in run_check_digest()
51 selabel_digest, files_ptr + 1); in run_check_digest()
53 printf("Passed validation - digest: %s\n", selabel_digest); in run_check_digest()
140 rc = selabel_digest(hnd, &sha1_digest, &digest_len, &specfiles, in main()
D.gitignore17 selabel_digest
/external/selinux/libselinux/src/
Dlabel_internal.h58 struct selabel_digest { struct
66 extern int digest_add_specfile(struct selabel_digest *digest, FILE *fp, argument
70 extern void digest_gen_hash(struct selabel_digest *digest);
117 struct selabel_digest *digest;
Dlabel.c64 static inline struct selabel_digest *selabel_is_digest_set in selabel_is_digest_set()
67 struct selabel_digest *entry) in selabel_is_digest_set()
69 struct selabel_digest *digest = NULL; in selabel_is_digest_set()
102 static void selabel_digest_fini(struct selabel_digest *ptr) in selabel_digest_fini()
355 int selabel_digest(struct selabel_handle *rec, in selabel_digest() function
Dlabel_support.c116 void hidden digest_gen_hash(struct selabel_digest *digest) in digest_gen_hash()
144 int hidden digest_add_specfile(struct selabel_digest *digest, FILE *fp, in digest_add_specfile()
Dlabel_file.c531 const char *prefix, struct selabel_digest *digest) in process_file()
603 static int selabel_subs_init(const char *path, struct selabel_digest *digest, in selabel_subs_init()
Dselinux_restorecon.c1149 if (selabel_digest(fc_sehandle, &fc_digest, &fc_digest_len, in selinux_restorecon_set_sehandle()
/external/selinux/libselinux/include/selinux/
Dlabel.h137 extern int selabel_digest(struct selabel_handle *rec,
/external/selinux/policycoreutils/setfiles/
Drestorecon_xattr.c128 if (selabel_digest(hnd, &fc_digest, &fc_digest_len, in main()