summaryrefslogtreecommitdiff
path: root/moduli.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-05-13 16:24:32 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-05-13 16:24:32 +1000
commit770fc01078ffd4952ceb91f617063b390730499c (patch)
tree4371321e51979a9a4c3ee2a8700e5edfeb717e11 /moduli.h
parente608ca2965a4afe58477faf1d36ce574416b66a7 (diff)
- djm@cvs.openbsd.org 2004/05/09 00:06:47
[moduli.c ssh-keygen.c] removed: moduli.h zap another tiny header; ok deraadt@
Diffstat (limited to 'moduli.h')
-rw-r--r--moduli.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/moduli.h b/moduli.h
deleted file mode 100644
index 9cd1cd3f8..000000000
--- a/moduli.h
+++ /dev/null
@@ -1,23 +0,0 @@
1/* $OpenBSD: moduli.h,v 1.1 2003/07/28 09:49:56 djm Exp $ */
2
3#include <sys/types.h>
4#include <openssl/bn.h>
5
6/*
7 * Using virtual memory can cause thrashing. This should be the largest
8 * number that is supported without a large amount of disk activity --
9 * that would increase the run time from hours to days or weeks!
10 */
11#define LARGE_MINIMUM (8UL) /* megabytes */
12
13/*
14 * Do not increase this number beyond the unsigned integer bit size.
15 * Due to a multiple of 4, it must be LESS than 128 (yielding 2**30 bits).
16 */
17#define LARGE_MAXIMUM (127UL) /* megabytes */
18
19/* Minimum number of primality tests to perform */
20#define TRIAL_MINIMUM (4)
21
22int gen_candidates(FILE *, int, int, BIGNUM *);
23int prime_test(FILE *, FILE *, u_int32_t, u_int32_t);