]> git.saurik.com Git - apple/security.git/blame - libsecurity_cryptkit/lib/CurveParamDocs/fmodule.h
Security-55163.44.tar.gz
[apple/security.git] / libsecurity_cryptkit / lib / CurveParamDocs / fmodule.h
CommitLineData
b1ab9ed8
A
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
20int
21init_fmodule(int shorts);
22
23void
24s_modg(
25 giant N,
26 giant t
27);
28
29unsigned short *
30prime_list();
31
32unsigned short *
33exponent_list();
34
35int
36sieve(giant N, int sievelim);