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

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

some msieve modifications

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