Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Macros | |
#define | BLOCKSIZE 4096 |
Functions | |
int | PHmd5File (const char *filename, unsigned char *digest, int *filesize) |
int | PHmd5Stream (FILE *stream, unsigned char *digest, int *filesize) |
#define BLOCKSIZE 4096 |
Referenced by PHmd5Stream().
int PHmd5File | ( | const char * | filename, |
unsigned char * | digest, | ||
int * | filesize | ||
) |
Definition at line 7 of file PHmd5Utils.cc.
View newest version in sPHENIX GitHub at line 7 of file PHmd5Utils.cc
References fclose(), PHmd5Stream(), and utils::status.
Referenced by PHmd5Value::PHmd5Value(), and PHmd5Value::setFileMD5().
int PHmd5Stream | ( | FILE * | stream, |
unsigned char * | digest, | ||
int * | filesize | ||
) |
Definition at line 21 of file PHmd5Utils.cc.
View newest version in sPHENIX GitHub at line 21 of file PHmd5Utils.cc
References BLOCKSIZE, md5_append(), md5_finish(), md5_init(), n, filter::state, and sum().
Referenced by PHmd5File(), and PHmd5Value::PHmd5Value().