ReactOS 0.4.16-dev-527-gdad3a09
|
#include <stdint.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | blake2b_state__ |
Macros | |
#define | BLAKE2_INLINE |
#define | NATIVE_LITTLE_ENDIAN |
#define | BLAKE2_PACKED(x) x __attribute__((packed)) |
Typedefs | |
typedef struct blake2b_state__ | blake2b_state |
typedef struct blake2b_param__ | blake2b_param |
Enumerations | |
enum | blake2b_constant { BLAKE2B_BLOCKBYTES = 128 , BLAKE2B_OUTBYTES = 64 , BLAKE2B_KEYBYTES = 64 , BLAKE2B_SALTBYTES = 16 , BLAKE2B_PERSONALBYTES = 16 } |
Functions | |
static BLAKE2_INLINE uint32_t | load32 (const void *src) |
static BLAKE2_INLINE uint64_t | load64 (const void *src) |
static BLAKE2_INLINE uint16_t | load16 (const void *src) |
static BLAKE2_INLINE void | store16 (void *dst, uint16_t w) |
static BLAKE2_INLINE void | store32 (void *dst, uint32_t w) |
static BLAKE2_INLINE void | store64 (void *dst, uint64_t w) |
static BLAKE2_INLINE uint64_t | load48 (const void *src) |
static BLAKE2_INLINE void | store48 (void *dst, uint64_t w) |
static BLAKE2_INLINE uint32_t | rotr32 (const uint32_t w, const unsigned c) |
static BLAKE2_INLINE uint64_t | rotr64 (const uint64_t w, const unsigned c) |
BLAKE2_PACKED (struct blake2b_param__ { uint8_t digest_length;uint8_t key_length;uint8_t fanout;uint8_t depth;uint32_t leaf_length;uint32_t node_offset;uint32_t xof_length;uint8_t node_depth;uint8_t inner_length;uint8_t reserved[14];uint8_t salt[BLAKE2B_SALTBYTES];uint8_t personal[BLAKE2B_PERSONALBYTES];}) | |
#define BLAKE2_INLINE |
Definition at line 26 of file blake2-impl.h.
#define BLAKE2_PACKED | ( | x | ) | x __attribute__((packed)) |
Definition at line 157 of file blake2-impl.h.
#define NATIVE_LITTLE_ENDIAN |
Definition at line 32 of file blake2-impl.h.
typedef struct blake2b_param__ blake2b_param |
Definition at line 196 of file blake2-impl.h.
typedef struct blake2b_state__ blake2b_state |
Enumerator | |
---|---|
BLAKE2B_BLOCKBYTES | |
BLAKE2B_OUTBYTES | |
BLAKE2B_KEYBYTES | |
BLAKE2B_SALTBYTES | |
BLAKE2B_PERSONALBYTES |
Definition at line 160 of file blake2-impl.h.
BLAKE2_PACKED | ( | struct blake2b_param__ { uint8_t digest_length;uint8_t key_length;uint8_t fanout;uint8_t depth;uint32_t leaf_length;uint32_t node_offset;uint32_t xof_length;uint8_t node_depth;uint8_t inner_length;uint8_t reserved[14];uint8_t salt[BLAKE2B_SALTBYTES];uint8_t personal[BLAKE2B_PERSONALBYTES];} | ) |
|
static |
Definition at line 68 of file blake2-impl.h.
|
static |
Definition at line 34 of file blake2-impl.h.
|
static |
Definition at line 122 of file blake2-impl.h.
|
static |
Definition at line 49 of file blake2-impl.h.
Referenced by blake2b_compress(), and blake2b_init_param().
Definition at line 144 of file blake2-impl.h.
|
static |
Definition at line 81 of file blake2-impl.h.
|
static |
Definition at line 92 of file blake2-impl.h.
Referenced by blake2b_init().
|
static |
|
static |
Definition at line 105 of file blake2-impl.h.
Referenced by blake2b_final().