FD.io VPP  v21.06-3-gbb25fbf28
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 u8x16 gmul_lo_lo (u8x16 a, u8x16 b)
 
static_always_inline u8x16 gmul_hi_lo (u8x16 a, u8x16 b)
 
static_always_inline u8x16 gmul_lo_hi (u8x16 a, u8x16 b)
 
static_always_inline u8x16 gmul_hi_hi (u8x16 a, u8x16 b)
 
static_always_inline void ghash_mul_first (ghash_data_t *gd, u8x16 a, u8x16 b)
 
static_always_inline void ghash_mul_next (ghash_data_t *gd, u8x16 a, u8x16 b)
 
static_always_inline void ghash_reduce (ghash_data_t *gd)
 
static_always_inline void ghash_reduce2 (ghash_data_t *gd)
 
static_always_inline u8x16 ghash_final (ghash_data_t *gd)
 
static_always_inline u8x16 ghash_mul (u8x16 a, u8x16 b)
 
static_always_inline void ghash_precompute (u8x16 H, u8x16 *Hi, int n)
 

Variables

static const u8x16 ghash_poly
 
static const u8x16 ghash_poly2
 

Function Documentation

◆ ghash_final()

static_always_inline u8x16 ghash_final ( ghash_data_t gd)

Definition at line 244 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 u8x16 ghash_mul ( u8x16  a,
u8x16  b 
)

Definition at line 251 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,
u8x16  a,
u8x16  b 
)

Definition at line 168 of file ghash.h.

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

◆ ghash_mul_next()

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

Definition at line 183 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 ( u8x16  H,
u8x16 Hi,
int  n 
)

Definition at line 387 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 212 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 237 of file ghash.h.

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

◆ gmul_hi_hi()

static_always_inline u8x16 gmul_hi_hi ( u8x16  a,
u8x16  b 
)

Definition at line 142 of file ghash.h.

+ Here is the caller graph for this function:

◆ gmul_hi_lo()

static_always_inline u8x16 gmul_hi_lo ( u8x16  a,
u8x16  b 
)

Definition at line 120 of file ghash.h.

+ Here is the caller graph for this function:

◆ gmul_lo_hi()

static_always_inline u8x16 gmul_lo_hi ( u8x16  a,
u8x16  b 
)

Definition at line 131 of file ghash.h.

+ Here is the caller graph for this function:

◆ gmul_lo_lo()

static_always_inline u8x16 gmul_lo_lo ( u8x16  a,
u8x16  b 
)

Definition at line 109 of file ghash.h.

+ Here is the caller graph for this function:

Variable Documentation

◆ ghash_poly

const u8x16 ghash_poly
static
Initial value:
= {
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc2
}

Definition at line 157 of file ghash.h.

◆ ghash_poly2

const u8x16 ghash_poly2
static
Initial value:
= {
0x00, 0x00, 0x00, 0xc2, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc2
}

Definition at line 162 of file ghash.h.