FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
ghash.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ghash_data_t
 

Functions

static_always_inline __m128i ghash_xor3 (__m128i a, __m128i b, __m128i c)
 
static_always_inline void ghash_mul_first (ghash_data_t *gd, __m128i a, __m128i b)
 
static_always_inline void ghash_mul_next (ghash_data_t *gd, __m128i a, __m128i b)
 
static_always_inline void ghash_reduce (ghash_data_t *gd)
 
static_always_inline void ghash_reduce2 (ghash_data_t *gd)
 
static_always_inline __m128i ghash_final (ghash_data_t *gd)
 
static_always_inline __m128i ghash_mul (__m128i a, __m128i b)
 
static_always_inline void ghash_precompute (__m128i H, __m128i *Hi, int count)
 

Variables

static const __m128i ghash_poly = { 1, 0xC200000000000000 }
 
static const __m128i ghash_poly2 = { 0x1C2000000, 0xC200000000000000 }
 

Function Documentation

◆ ghash_final()

static_always_inline __m128i ghash_final ( ghash_data_t gd)

Definition at line 209 of file ghash.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ghash_mul()

static_always_inline __m128i ghash_mul ( __m128i  a,
__m128i  b 
)

Definition at line 216 of file ghash.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ghash_mul_first()

static_always_inline void ghash_mul_first ( ghash_data_t gd,
__m128i  a,
__m128i  b 
)

Definition at line 129 of file ghash.h.

+ Here is the caller graph for this function:

◆ ghash_mul_next()

static_always_inline void ghash_mul_next ( ghash_data_t gd,
__m128i  a,
__m128i  b 
)

Definition at line 145 of file ghash.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ghash_precompute()

static_always_inline void ghash_precompute ( __m128i  H,
__m128i *  Hi,
int  count 
)

Definition at line 226 of file ghash.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ghash_reduce()

static_always_inline void ghash_reduce ( ghash_data_t gd)

Definition at line 176 of file ghash.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ghash_reduce2()

static_always_inline void ghash_reduce2 ( ghash_data_t gd)

Definition at line 202 of file ghash.h.

+ Here is the caller graph for this function:

◆ ghash_xor3()

static_always_inline __m128i ghash_xor3 ( __m128i  a,
__m128i  b,
__m128i  c 
)

Definition at line 111 of file ghash.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ ghash_poly

const __m128i ghash_poly = { 1, 0xC200000000000000 }
static

Definition at line 125 of file ghash.h.

◆ ghash_poly2

const __m128i ghash_poly2 = { 0x1C2000000, 0xC200000000000000 }
static

Definition at line 126 of file ghash.h.