]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_cryptkit/lib/CurveParamDocs/fmodule.h
Security-58286.60.28.tar.gz
[apple/security.git] / OSX / libsecurity_cryptkit / lib / CurveParamDocs / fmodule.h
1 /**************************************************************
2 *
3 * fmodule.h
4 *
5 * Header file for fmodule.c.
6 *
7 * Updates:
8 * 13 Apr 98 REC - creation
9 *
10 * c. 1998 Perfectly Scientific, Inc.
11 * All Rights Reserved.
12 *
13 *
14 *************************************************************/
15
16 #define GENERAL_MOD 0
17 #define FERMAT_MOD 1
18 #define MERSENNE_MOD (-1)
19
20 int
21 init_fmodule(int shorts);
22
23 void
24 s_modg(
25 giant N,
26 giant t
27 );
28
29 unsigned short *
30 prime_list();
31
32 unsigned short *
33 exponent_list();
34
35 int
36 sieve(giant N, int sievelim);