LibSWIFFT  1.2.0
Macros | Variables
swifft_impl.inl File Reference

LibSWIFFT internal C definitions. More...

#include "libswifft/swifft_common.h"
Include dependency graph for swifft_impl.inl:
This graph shows which files directly or indirectly include this file:

Macros

#define SWIFFT_VECTOR_SIZE   (1 << SWIFFT_VECTOR_LOG2_SIZE)
 
#define SWIFFT_LOG2_N   6
 Log base-2 of SWIFFT_N. More...
 
#define SWIFFT_N   (1<<SWIFFT_LOG2_N)
 Size of fft. More...
 
#define SWIFFT_P   257
 Modulus for performing arithmetic operations. More...
 
#define SWIFFT_M   (SWIFFT_INPUT_BLOCK_SIZE/8)
 fft blocks More...
 
#define OMEGA   42
 Generator of multiplicative subgroup. More...
 
#define SWIFFT_LOG2_W   3
 Log base-2 of SWIFFT_W. More...
 
#define SWIFFT_W   (1<<SWIFFT_LOG2_W)
 Number of coordinates in SSE2 register. More...
 
#define SWIFFT_LOG2_V   8
 Log base-2 of SWIFFT_V. More...
 
#define SWIFFT_V   (1<<SWIFFT_LOG2_V)
 Number of values in a byte. More...
 
#define SWIFFT_INT16(high, low)   (((high) << SWIFFT_LOG2_V) | (low))
 Compose a 16-bit value from two 8-bit ones. More...
 
#define SWIFFT_AddSub(a, b)   { b = a - b; a += a - b; }
 Replace a pair of numbers with their addition and subtraction. More...
 

Variables

LIBSWIFFT_BEGIN_EXTERN_C const BitSequence SWIFFT_sign0 [SWIFFT_INPUT_BLOCK_SIZE]
 
const int16_t SWIFFT_multipliers [SWIFFT_N]
 
const int16_t SWIFFT_fftTable [SWIFFT_V *SWIFFT_V *SWIFFT_W]
 
const int16_t SWIFFT_PI_key [SWIFFT_M *SWIFFT_N]
 

Detailed Description

LibSWIFFT internal C definitions.

Macro Definition Documentation

◆ OMEGA

#define OMEGA   42

Generator of multiplicative subgroup.

◆ SWIFFT_AddSub

#define SWIFFT_AddSub (   a,
 
)    { b = a - b; a += a - b; }

Replace a pair of numbers with their addition and subtraction.

◆ SWIFFT_INT16

#define SWIFFT_INT16 (   high,
  low 
)    (((high) << SWIFFT_LOG2_V) | (low))

Compose a 16-bit value from two 8-bit ones.

◆ SWIFFT_LOG2_N

#define SWIFFT_LOG2_N   6

Log base-2 of SWIFFT_N.

◆ SWIFFT_LOG2_V

#define SWIFFT_LOG2_V   8

Log base-2 of SWIFFT_V.

◆ SWIFFT_LOG2_W

#define SWIFFT_LOG2_W   3

Log base-2 of SWIFFT_W.

◆ SWIFFT_M

#define SWIFFT_M   (SWIFFT_INPUT_BLOCK_SIZE/8)

fft blocks

◆ SWIFFT_N

#define SWIFFT_N   (1<<SWIFFT_LOG2_N)

Size of fft.

◆ SWIFFT_P

#define SWIFFT_P   257

Modulus for performing arithmetic operations.

◆ SWIFFT_V

#define SWIFFT_V   (1<<SWIFFT_LOG2_V)

Number of values in a byte.

◆ SWIFFT_VECTOR_SIZE

#define SWIFFT_VECTOR_SIZE   (1 << SWIFFT_VECTOR_LOG2_SIZE)

◆ SWIFFT_W

#define SWIFFT_W   (1<<SWIFFT_LOG2_W)

Number of coordinates in SSE2 register.

Variable Documentation

◆ SWIFFT_fftTable

const int16_t SWIFFT_fftTable[SWIFFT_V *SWIFFT_V *SWIFFT_W]

◆ SWIFFT_multipliers

const int16_t SWIFFT_multipliers[SWIFFT_N]

◆ SWIFFT_PI_key

const int16_t SWIFFT_PI_key[SWIFFT_M *SWIFFT_N]

◆ SWIFFT_sign0