1 #include <CommonCrypto/CommonDigestSPI.h>
5 extern const int kSHA256NullTerminatedBuffLen
;
7 #define MD5File(f, b) Digest_File(kCCDigestMD5, f, b)
8 #define SHA1_File(f, b) Digest_File(kCCDigestSHA1, f, b)
9 #define RIPEMD160_File(f, b) Digest_File(kCCDigestRMD160, f, b)
10 #define SHA256_File(f, b) Digest_File(kCCDigestSHA256, f, b)
12 char *Digest_File(CCDigestAlg algorithm
, const char *filename
, char *buf
);
14 char *SHA256_Path_XATTRs(char *path
, char *buf
);
15 char *SHA256_Path_ACL(char *path
, char *buf
);