source: trunk/CrypPlugins/QuadraticSieve/msieve/build.vc9/msieve.dll/wrapper.h @ 1372

Last change on this file since 1372 was 1372, checked in by Sven Rech, 12 years ago

some modifications for msieve

File size: 664 bytes
Line 
1#pragma once
2
3//#include <common.h>
4
5void showProgress(void* conf, int num_relations, int max_relations);
6void prepare_sieving(void* conf, int update, void* core_sieve_fcn);
7void throwException(char* message);
8//void factor_list_changed(factor_list_t * factor_list);
9
10struct relation
11{
12        uint32 sieve_offset;
13        uint32 *fb_offsets;
14        uint32 num_factors;
15        uint32 poly_index;
16        uint32 large_prime1;
17        uint32 large_prime2;
18};
19
20struct yield_element
21{
22        int type;       // 0 = relation; 1 = poly
23        struct relation rel;
24        char polybuf[256];
25};
26
27typedef struct
28{
29        int yield_count;
30        int yield_capacity;
31        struct yield_element *yield_array;     
32} relationYield;
Note: See TracBrowser for help on using the repository browser.