ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHmd5Utils.cc File Reference
#include "stdio.h"
#include "PHmd5Utils.h"
#include "md5.h"
+ Include dependency graph for PHmd5Utils.cc:

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)
 

Macro Definition Documentation

#define BLOCKSIZE   4096

Referenced by PHmd5Stream().

Function Documentation

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(), fp, and PHmd5Stream().

Referenced by PHmd5Value::PHmd5Value(), and PHmd5Value::setFileMD5().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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, and sum.

Referenced by PHmd5File(), and PHmd5Value::PHmd5Value().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: