#include "sha1.hpp"
#include <iomanip>
#include <sstream>
Go to the source code of this file.
Defines | |
#define | sha_rotl(n, x) ( ((x) << (n)) | ((x) >> (32-(n))) ) |
#define | sha_ch(x, y, z) ( ((x) & (y)) | ((!(x)) & (z)) ) |
#define | sha_parity(x, y, z) ( (x) ^ (y) ^ (z) ) |
#define | sha_maj(x, y, z) ( ((x) & (y)) | ((x) & (z)) | ((y) & (z)) ) |
Used to checksum the game-config / cache.
Definition in file sha1.cpp.
#define sha_ch | ( | x, | |||
y, | |||||
z | ) | ( ((x) & (y)) | ((!(x)) & (z)) ) |
#define sha_maj | ( | x, | |||
y, | |||||
z | ) | ( ((x) & (y)) | ((x) & (z)) | ((y) & (z)) ) |
#define sha_parity | ( | x, | |||
y, | |||||
z | ) | ( (x) ^ (y) ^ (z) ) |
#define sha_rotl | ( | n, | |||
x | ) | ( ((x) << (n)) | ((x) >> (32-(n))) ) |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |