LLVM 20.0.0git
|
#include "llvm/Support/SHA1.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/SwapByteOrder.h"
#include <string.h>
Go to the source code of this file.
Macros | |
#define | SHA1_K0 0x5a827999 |
#define | SHA1_K20 0x6ed9eba1 |
#define | SHA1_K40 0x8f1bbcdc |
#define | SHA1_K60 0xca62c1d6 |
#define | SEED_0 0x67452301 |
#define | SEED_1 0xefcdab89 |
#define | SEED_2 0x98badcfe |
#define | SEED_3 0x10325476 |
#define | SEED_4 0xc3d2e1f0 |
Functions | |
static uint32_t | rol (uint32_t Number, int Bits) |
static uint32_t | blk0 (uint32_t *Buf, int I) |
static uint32_t | blk (uint32_t *Buf, int I) |
static void | r0 (uint32_t &A, uint32_t &B, uint32_t &C, uint32_t &D, uint32_t &E, int I, uint32_t *Buf) |
static void | r1 (uint32_t &A, uint32_t &B, uint32_t &C, uint32_t &D, uint32_t &E, int I, uint32_t *Buf) |
static void | r2 (uint32_t &A, uint32_t &B, uint32_t &C, uint32_t &D, uint32_t &E, int I, uint32_t *Buf) |
static void | r3 (uint32_t &A, uint32_t &B, uint32_t &C, uint32_t &D, uint32_t &E, int I, uint32_t *Buf) |
static void | r4 (uint32_t &A, uint32_t &B, uint32_t &C, uint32_t &D, uint32_t &E, int I, uint32_t *Buf) |
|
inlinestatic |
Definition at line 45 of file SHA1.cpp.
References A, B, blk(), llvm::CallingConv::C, D, I, and rol().
Referenced by llvm::DIExpression::fragmentCmp().
|
inlinestatic |
Definition at line 51 of file SHA1.cpp.
References A, B, blk(), llvm::CallingConv::C, D, I, and rol().
Referenced by llvm::DIExpression::fragmentCmp().