SHOGUN  v3.2.0
宏定义
Hash.cpp 文件参考

浏览源代码.

宏定义

#define byteReverse(buf, len)   /* Nothing */
 
#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 )
 

宏定义说明

◆ byteReverse

#define byteReverse (   buf,
  len 
)    /* Nothing */

在文件 Hash.cpp74 行定义.

◆ F1

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

在文件 Hash.cpp197 行定义.

◆ F2

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

在文件 Hash.cpp198 行定义.

◆ F3

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

在文件 Hash.cpp199 行定义.

◆ F4

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

在文件 Hash.cpp200 行定义.

◆ MD5STEP

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

在文件 Hash.cpp207 行定义.


SHOGUN Machine Learning Toolbox - Documentation