ATLAS Offline Software
Macros
MD5.cxx File Reference

solar's public-domain MD5, wrapped for C++. More...

#include <string.h>
#include "CxxUtils/MD5.h"
Include dependency graph for MD5.cxx:

Go to the source code of this file.

Macros

#define F(x, y, z)   ((z) ^ ((x) & ((y) ^ (z))))
 
#define G(x, y, z)   ((y) ^ ((z) & ((x) ^ (y))))
 
#define H(x, y, z)   (((x) ^ (y)) ^ (z))
 
#define H2(x, y, z)   ((x) ^ ((y) ^ (z)))
 
#define I(x, y, z)   ((y) ^ ((x) | ~(z)))
 
#define STEP(f, a, b, c, d, x, t, s)
 
#define SET(n)
 
#define GET(n)   (ctx->block[(n)])
 
#define OUT(dst, src)
 

Detailed Description

solar's public-domain MD5, wrapped for C++.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov, from public domain code.
Date
Aug 2017

Definition in file MD5.cxx.

Macro Definition Documentation

◆ F

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

Definition at line 113 of file MD5.cxx.

◆ G

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

Definition at line 114 of file MD5.cxx.

◆ GET

#define GET (   n)    (ctx->block[(n)])

Definition at line 154 of file MD5.cxx.

◆ H

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

Definition at line 115 of file MD5.cxx.

◆ H2

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

Definition at line 116 of file MD5.cxx.

◆ I

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

Definition at line 117 of file MD5.cxx.

◆ OUT

#define OUT (   dst,
  src 
)
Value:
(dst)[0] = (unsigned char)(src); \
(dst)[1] = (unsigned char)((src) >> 8); \
(dst)[2] = (unsigned char)((src) >> 16); \
(dst)[3] = (unsigned char)((src) >> 24);

Definition at line 317 of file MD5.cxx.

◆ SET

#define SET (   n)
Value:
(ctx->block[(n)] = \
(MD5_u32plus)ptr[(n) * 4] | \
((MD5_u32plus)ptr[(n) * 4 + 1] << 8) | \
((MD5_u32plus)ptr[(n) * 4 + 2] << 16) | \
((MD5_u32plus)ptr[(n) * 4 + 3] << 24))

Definition at line 148 of file MD5.cxx.

◆ STEP

#define STEP (   f,
  a,
  b,
  c,
  d,
  x,
  t,
 
)
Value:
(a) += f((b), (c), (d)) + (x) + (t); \
(a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); \
(a) += (b);

Definition at line 122 of file MD5.cxx.

python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
WriteCellNoiseToCool.src
src
Definition: WriteCellNoiseToCool.py:513
hist_file_dump.d
d
Definition: hist_file_dump.py:137
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
x
#define x
beamspotman.n
n
Definition: beamspotman.py:731
hist_file_dump.f
f
Definition: hist_file_dump.py:135
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10
python.compressB64.c
def c
Definition: compressB64.py:93