ROOT 6.16/01 Reference Guide |
Classes | |
struct | ROOT::Internal::SHA256::sha256_t |
Namespaces | |
namespace | ROOT |
Namespace for new ROOT classes and functions. | |
namespace | ROOT::Internal |
namespace | ROOT::Internal::SHA256 |
Macros | |
#define | _SHA256_UNROLL |
#define | _SHA256_UNROLL2 |
#define | a(i) T[(0 - (i)) & 7] |
#define | b(i) T[(1 - (i)) & 7] |
#define | blk0(i) (W[i] = data[i]) |
#define | blk2(i) (W[i & 15] += s1(W[(i - 2) & 15]) + W[(i - 7) & 15] + s0(W[(i - 15) & 15])) |
#define | c(i) T[(2 - (i)) & 7] |
#define | Ch(x, y, z) (z ^ (x & (y ^ z))) |
#define | d(i) T[(3 - (i)) & 7] |
#define | e(i) T[(4 - (i)) & 7] |
#define | f(i) T[(5 - (i)) & 7] |
#define | g(i) T[(6 - (i)) & 7] |
#define | h(i) T[(7 - (i)) & 7] |
#define | Maj(x, y, z) ((x & y) | (z & (x | y))) |
#define | R(a, b, c, d, e, f, g, h, i) |
#define | ROTL16(v, n) (U16V((uint16_t)(v) << (n)) | ((uint16_t)(v) >> (16 - (n)))) |
#define | ROTL32(v, n) (U32V((uint32_t)(v) << (n)) | ((uint32_t)(v) >> (32 - (n)))) |
#define | ROTL64(v, n) (U64V((uint64_t)(v) << (n)) | ((uint64_t)(v) >> (64 - (n)))) |
#define | ROTL8(v, n) (U8V((uint8_t)(v) << (n)) | ((uint8_t)(v) >> (8 - (n)))) |
#define | ROTR16(v, n) ROTL16(v, 16 - (n)) |
#define | ROTR32(v, n) ROTL32(v, 32 - (n)) |
#define | ROTR64(v, n) ROTL64(v, 64 - (n)) |
#define | ROTR8(v, n) ROTL8(v, 8 - (n)) |
#define | RX_8(i) |
#define | S0(x) (ROTR32(x, 2) ^ ROTR32(x, 13) ^ ROTR32(x, 22)) |
#define | s0(x) (ROTR32(x, 7) ^ ROTR32(x, 18) ^ (x >> 3)) |
#define | S1(x) (ROTR32(x, 6) ^ ROTR32(x, 11) ^ ROTR32(x, 25)) |
#define | s1(x) (ROTR32(x, 17) ^ ROTR32(x, 19) ^ (x >> 10)) |
#define | SHA256_DIGEST_SIZE 32 |
#define | U16V(v) ((uint16_t)(v)&0xFFFFU) |
#define | U32V(v) ((uint32_t)(v)&0xFFFFFFFFU) |
#define | U64V(v) ((uint64_t)(v)&0xFFFFFFFFFFFFFFFFU) |
#define | U8V(v) ((uint8_t)(v)&0xFFU) |
Typedefs | |
typedef struct ROOT::Internal::SHA256::sha256_t | ROOT::Internal::SHA256::sha256_t |
Functions | |
void | ROOT::Internal::Sha256 (const unsigned char *data, int len, ULong64_t *fDigest) |
void | ROOT::Internal::SHA256::sha256_final (sha256_t *p, unsigned char *digest) |
void | ROOT::Internal::SHA256::sha256_hash (unsigned char *buf, const unsigned char *data, size_t size) |
void | ROOT::Internal::SHA256::sha256_init (sha256_t *p) |
static void | ROOT::Internal::SHA256::sha256_transform (uint32_t *state, const uint32_t *data) |
void | ROOT::Internal::SHA256::sha256_update (sha256_t *p, const unsigned char *data, size_t size) |
static void | ROOT::Internal::SHA256::sha256_write_byte_block (sha256_t *p) |
Variables | |
static const uint32_t | ROOT::Internal::SHA256::K [64] |
#define _SHA256_UNROLL |
Definition at line 72 of file RSha256.hxx.
#define _SHA256_UNROLL2 |
Definition at line 73 of file RSha256.hxx.
#define a | ( | i | ) | T[(0 - (i)) & 7] |
Definition at line 99 of file RSha256.hxx.
#define b | ( | i | ) | T[(1 - (i)) & 7] |
Definition at line 100 of file RSha256.hxx.
#define blk0 | ( | i | ) | (W[i] = data[i]) |
Definition at line 93 of file RSha256.hxx.
Definition at line 94 of file RSha256.hxx.
#define c | ( | i | ) | T[(2 - (i)) & 7] |
Definition at line 101 of file RSha256.hxx.
#define d | ( | i | ) | T[(3 - (i)) & 7] |
Definition at line 102 of file RSha256.hxx.
#define e | ( | i | ) | T[(4 - (i)) & 7] |
Definition at line 103 of file RSha256.hxx.
#define f | ( | i | ) | T[(5 - (i)) & 7] |
Definition at line 104 of file RSha256.hxx.
#define g | ( | i | ) | T[(6 - (i)) & 7] |
Definition at line 105 of file RSha256.hxx.
#define h | ( | i | ) | T[(7 - (i)) & 7] |
Definition at line 106 of file RSha256.hxx.
Definition at line 110 of file RSha256.hxx.
Definition at line 53 of file RSha256.hxx.
Definition at line 41 of file RSha256.hxx.
Definition at line 44 of file RSha256.hxx.
Definition at line 51 of file RSha256.hxx.
#define RX_8 | ( | i | ) |
Definition at line 115 of file RSha256.hxx.
Definition at line 88 of file RSha256.hxx.
Definition at line 90 of file RSha256.hxx.
Definition at line 89 of file RSha256.hxx.
Definition at line 91 of file RSha256.hxx.
#define SHA256_DIGEST_SIZE 32 |
Definition at line 58 of file RSha256.hxx.
Definition at line 37 of file RSha256.hxx.
Definition at line 38 of file RSha256.hxx.
Definition at line 39 of file RSha256.hxx.
Definition at line 36 of file RSha256.hxx.