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

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

QuadraticSieve works much better now

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