LLVM
15.0.0git
|
#include "llvm/Support/SHA256.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Host.h"
#include <string.h>
Go to the source code of this file.
Namespaces | |
llvm | |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | SHR(x, c) ((x) >> (c)) |
#define | ROTR(x, n) (((x) >> n) | ((x) << (32 - (n)))) |
#define | CH(x, y, z) (((x) & (y)) ^ (~(x) & (z))) |
#define | MAJ(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) |
#define | SIGMA_0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) |
#define | SIGMA_1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) |
#define | SIGMA_2(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10)) |
#define | SIGMA_3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) |
#define | F_EXPAND(A, B, C, D, E, F, G, H, M1, M2, M3, M4, k) |
Definition at line 39 of file SHA256.cpp.
Definition at line 41 of file SHA256.cpp.
Definition at line 42 of file SHA256.cpp.
Definition at line 44 of file SHA256.cpp.