ccRTP 2.1.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs | Functions
skein_port.h File Reference
#include <crypto/brg_types.h>
#include <crypto/brg_endian.h>
Include dependency graph for skein_port.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RotL_64(x, N)   (((x) << (N)) | ((x) >> (64-(N))))
 
#define SKEIN_NEED_SWAP   (1)
 
#define Skein_Swap64(w64)
 

Typedefs

typedef unsigned int uint_t
 
typedef uint_8t u08b_t
 
typedef uint_64t u64b_t
 

Functions

void Skein_Put64_LSB_First (u08b_t *dst, const u64b_t *src, size_t bCnt)
 
void Skein_Get64_LSB_First (u64b_t *dst, const u08b_t *src, size_t wCnt)
 

Macro Definition Documentation

#define RotL_64 (   x,
 
)    (((x) << (N)) | ((x) >> (64-(N))))

Definition at line 28 of file skein_port.h.

#define SKEIN_NEED_SWAP   (1)

Definition at line 55 of file skein_port.h.

#define Skein_Swap64 (   w64)
Value:
( (( ((u64b_t)(w64)) & 0xFF) << 56) | \
(((((u64b_t)(w64)) >> 8) & 0xFF) << 48) | \
(((((u64b_t)(w64)) >>16) & 0xFF) << 40) | \
(((((u64b_t)(w64)) >>24) & 0xFF) << 32) | \
(((((u64b_t)(w64)) >>32) & 0xFF) << 24) | \
(((((u64b_t)(w64)) >>40) & 0xFF) << 16) | \
(((((u64b_t)(w64)) >>48) & 0xFF) << 8) | \
(((((u64b_t)(w64)) >>56) & 0xFF) ) )
uint_64t u64b_t
Definition: skein_port.h:25

Definition at line 76 of file skein_port.h.

Typedef Documentation

typedef uint_8t u08b_t

Definition at line 24 of file skein_port.h.

typedef uint_64t u64b_t

Definition at line 25 of file skein_port.h.

typedef unsigned int uint_t

Definition at line 22 of file skein_port.h.

Function Documentation

void Skein_Get64_LSB_First ( u64b_t dst,
const u08b_t src,
size_t  wCnt 
)
void Skein_Put64_LSB_First ( u08b_t dst,
const u64b_t src,
size_t  bCnt 
)