Logo ROOT   6.12/07
Reference Guide
Macros | Functions
TMD5.cxx File Reference
#include "TMD5.h"
#include "TBuffer.h"
#include "TError.h"
#include "TSystem.h"
#include "Bytes.h"
#include <string.h>
#include <errno.h>
Include dependency graph for TMD5.cxx:

Macros

#define F1(x, y, z)   (z ^ (x & (y ^ z)))
 
#define F2(x, y, z)   F1(z, x, y)
 
#define F3(x, y, z)   (x ^ y ^ z)
 
#define F4(x, y, z)   (y ^ (x | ~z))
 
#define MD5STEP(f, w, x, y, z, data, s)   ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
 

Functions

TBufferoperator<< (TBuffer &buf, const TMD5 &uuid)
 Input operator. Delegate to Streamer. More...
 
Bool_t operator== (const TMD5 &m1, const TMD5 &m2)
 Compare two message digests for equality. More...
 

Macro Definition Documentation

◆ F1

#define F1 (   x,
  y,
  z 
)    (z ^ (x & (y ^ z)))

Definition at line 267 of file TMD5.cxx.

◆ F2

#define F2 (   x,
  y,
  z 
)    F1(z, x, y)

Definition at line 268 of file TMD5.cxx.

◆ F3

#define F3 (   x,
  y,
  z 
)    (x ^ y ^ z)

Definition at line 269 of file TMD5.cxx.

◆ F4

#define F4 (   x,
  y,
  z 
)    (y ^ (x | ~z))

Definition at line 270 of file TMD5.cxx.

◆ MD5STEP

#define MD5STEP (   f,
  w,
  x,
  y,
  z,
  data,
 
)    ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )

Definition at line 273 of file TMD5.cxx.

Function Documentation

◆ operator<<()

TBuffer& operator<< ( TBuffer buf,
const TMD5 uuid 
)

Input operator. Delegate to Streamer.

Definition at line 554 of file TMD5.cxx.

◆ operator==()

Bool_t operator== ( const TMD5 m1,
const TMD5 m2 
)

Compare two message digests for equality.

Definition at line 372 of file TMD5.cxx.