A Demo Project for the UnrealEngineSDK
|
Go to the source code of this file.
Macros | |
#define | CH(x, y, z) (((x) & (y)) ^ (~(x) & (z))) |
#define | EP0(x) (ROTRIGHT(x,2) ^ ROTRIGHT(x,13) ^ ROTRIGHT(x,22)) |
#define | EP1(x) (ROTRIGHT(x,6) ^ ROTRIGHT(x,11) ^ ROTRIGHT(x,25)) |
#define | MAJ(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) |
#define | ROTLEFT(a, b) (((a) << (b)) | ((a) >> (32-(b)))) |
#define | ROTRIGHT(a, b) (((a) >> (b)) | ((a) << (32-(b)))) |
#define | SIG0(x) (ROTRIGHT(x,7) ^ ROTRIGHT(x,18) ^ ((x) >> 3)) |
#define | SIG1(x) (ROTRIGHT(x,17) ^ ROTRIGHT(x,19) ^ ((x) >> 10)) |
Functions | |
void | sha256_final (SHA256_CTX *ctx, PIXOVR_BYTE hash[]) |
void | sha256_init (SHA256_CTX *ctx) |
void | sha256_transform (SHA256_CTX *ctx, const PIXOVR_BYTE data[]) |
void | sha256_update (SHA256_CTX *ctx, const PIXOVR_BYTE data[], size_t len) |
Variables | |
static const PIXOVR_WORD | k [64] |
#define CH | ( | x, | |
y, | |||
z ) (((x) & (y)) ^ (~(x) & (z))) |
Definition at line 25 of file PixoSHA256.cpp.
Definition at line 27 of file PixoSHA256.cpp.
Definition at line 28 of file PixoSHA256.cpp.
#define MAJ | ( | x, | |
y, | |||
z ) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) |
Definition at line 26 of file PixoSHA256.cpp.
#define ROTLEFT | ( | a, | |
b ) (((a) << (b)) | ((a) >> (32-(b)))) |
Definition at line 22 of file PixoSHA256.cpp.
#define ROTRIGHT | ( | a, | |
b ) (((a) >> (b)) | ((a) << (32-(b)))) |
Definition at line 23 of file PixoSHA256.cpp.
Definition at line 29 of file PixoSHA256.cpp.
Definition at line 30 of file PixoSHA256.cpp.
void sha256_final | ( | SHA256_CTX * | ctx, |
PIXOVR_BYTE | hash[] ) |
Definition at line 115 of file PixoSHA256.cpp.
void sha256_init | ( | SHA256_CTX * | ctx | ) |
void sha256_transform | ( | SHA256_CTX * | ctx, |
const PIXOVR_BYTE | data[] ) |
void sha256_update | ( | SHA256_CTX * | ctx, |
const PIXOVR_BYTE | data[], | ||
size_t | len ) |
Definition at line 100 of file PixoSHA256.cpp.
|
static |
Definition at line 33 of file PixoSHA256.cpp.