KiCad PCB EDA Suite
Loading...
Searching...
No Matches
md5_hash.cpp File Reference
#include <cstring>
#include <cstdio>
#include <md5_hash.h>

Go to the source code of this file.

Macros

#define DBL_INT_ADD(a, b, c)
 
#define ROTLEFT(a, b)
 
#define F(x, y, z)
 
#define G(x, y, z)
 
#define H(x, y, z)
 
#define I(x, y, z)
 
#define FF(a, b, c, d, m, s, t)
 
#define GG(a, b, c, d, m, s, t)
 
#define HH(a, b, c, d, m, s, t)
 
#define II(a, b, c, d, m, s, t)
 

Macro Definition Documentation

◆ DBL_INT_ADD

#define DBL_INT_ADD ( a,
b,
c )
Value:
if (a > 0xffffffff - c) ++b; a += c;

Definition at line 12 of file md5_hash.cpp.

Referenced by MD5_HASH::md5_final(), and MD5_HASH::md5_update().

◆ F

#define F ( x,
y,
z )
Value:
((x & y) | (~x & z))

Definition at line 15 of file md5_hash.cpp.

Referenced by SIM_MODEL::DEFINE_ENUM_CLASS_WITH_ITERATOR(), and COUPLED_MICROSTRIP::delta_Z0_even_cover().

◆ FF

#define FF ( a,
b,
c,
d,
m,
s,
t )
Value:
{ a += F(b,c,d) + m + t; \
a = b + ROTLEFT(a,s); }
#define F(x, y, z)
Definition md5_hash.cpp:15
#define ROTLEFT(a, b)
Definition md5_hash.cpp:13

Definition at line 20 of file md5_hash.cpp.

Referenced by MD5_HASH::md5_transform().

◆ G

#define G ( x,
y,
z )

◆ GG

#define GG ( a,
b,
c,
d,
m,
s,
t )
Value:
{ a += G(b,c,d) + m + t; \
a = b + ROTLEFT(a,s); }
#define G(x, y, z)
Definition md5_hash.cpp:16

Definition at line 22 of file md5_hash.cpp.

Referenced by MD5_HASH::md5_transform().

◆ H

◆ HH

#define HH ( a,
b,
c,
d,
m,
s,
t )
Value:
{ a += H(b,c,d) + m + t; \
a = b + ROTLEFT(a,s); }
#define H(x, y, z)
Definition md5_hash.cpp:17

Definition at line 24 of file md5_hash.cpp.

Referenced by MD5_HASH::md5_transform().

◆ I

#define I ( x,
y,
z )

◆ II

#define II ( a,
b,
c,
d,
m,
s,
t )
Value:
{ a += I(b,c,d) + m + t; \
a = b + ROTLEFT(a,s); }
#define I(x, y, z)
Definition md5_hash.cpp:18

Definition at line 26 of file md5_hash.cpp.

Referenced by MD5_HASH::md5_transform().

◆ ROTLEFT

#define ROTLEFT ( a,
b )
Value:
((a << b) | (a >> (32-b)))

Definition at line 13 of file md5_hash.cpp.