#include <lib/utils/include/siqs_sieve.h>
Data Fields | |
uint32_t | nchunks |
uint32_t | chunk_size |
int32_t | next_chunkno_to_fill |
uint32_t | scan_begin |
uint32_t | threshold |
byte_array_t * | log_primes |
byte_array_t * | sieve |
siqs_poly_t * | poly |
int32_array_t * | sol1 |
int32_array_t * | sol2 |
uint32_t | endlast |
bool | use_buckets |
uint32_t | nprimes_no_buckets |
uint32_t | buckets_first_prime |
buckets_t * | buckets_positive |
buckets_t * | buckets_negative |
stopwatch_t | init_poly_timer |
stopwatch_t | fill_timer |
stopwatch_t | scan_timer |
This structure defines the sieve used by SIQS together with all its associated data.
Definition at line 122 of file siqs_sieve.h.
uint32_t struct_siqs_sieve_t::nchunks |
Number of blocks to sieve on each side of zero (nchunks
for positive x and nchunks
for negative x)
Definition at line 127 of file siqs_sieve.h.
uint32_t struct_siqs_sieve_t::chunk_size |
Size of a sieve chunk. The total sieving interval is thus given by 2 * chunk_size * nchunks
Definition at line 132 of file siqs_sieve.h.
The number of the next sieve chunk to fill (in [nchunks
, 0[ U ]0, nchunks
])
Definition at line 137 of file siqs_sieve.h.
uint32_t struct_siqs_sieve_t::scan_begin |
The position to start scanning in the next sieve chunk to scan
Definition at line 141 of file siqs_sieve.h.
uint32_t struct_siqs_sieve_t::threshold |
The sieve threshold. An xi will be tested for smoothness if sieve[
xi]
< threshold
Definition at line 146 of file siqs_sieve.h.
Approximated logarithm (in base 2) of the primes in the factor base
Definition at line 150 of file siqs_sieve.h.
The actual sieve array, of size chunk_size
Definition at line 154 of file siqs_sieve.h.
The SIQS polynomial
Definition at line 158 of file siqs_sieve.h.
The first solution to the equation P(x) = 0 mod pi for each prime pi in the factor base
Definition at line 163 of file siqs_sieve.h.
The first solution to the equation P(x) = 0 mod pi for each prime pi in the factor base
Definition at line 168 of file siqs_sieve.h.
uint32_t struct_siqs_sieve_t::endlast |
The index of the last position to sieve in the last sieve chunk (on either side)
Definition at line 174 of file siqs_sieve.h.
Should we use a bucket sieving for the largest primes in the base?
Definition at line 180 of file siqs_sieve.h.
Index (in the factor base) of the largest prime for which a standard sieving procedure is use
Definition at line 185 of file siqs_sieve.h.
Index (in the factor base) of the smallest prime for which the bucket sieving procedure is use
Definition at line 190 of file siqs_sieve.h.
buckets_t* struct_siqs_sieve_t::buckets_positive |
Buckets for the positive x's
Definition at line 194 of file siqs_sieve.h.
buckets_t* struct_siqs_sieve_t::buckets_negative |
Buckets for the negative x's
Definition at line 198 of file siqs_sieve.h.
Additional stopwatch (to get timing for the polynomial initializations)
Definition at line 202 of file siqs_sieve.h.
Additional stopwatch (to get timing for the sieve filling)
Definition at line 206 of file siqs_sieve.h.
Additional stopwatch (to get timing for the sieve scanning)
Definition at line 210 of file siqs_sieve.h.