Deleted Added
full compact
dh.h (92555) dh.h (137015)
1/* $OpenBSD: dh.h,v 1.7 2001/06/26 17:27:23 markus Exp $ */
1/* $OpenBSD: dh.h,v 1.8 2004/06/13 12:53:24 djm Exp $ */
2
3/*
4 * Copyright (c) 2000 Niels Provos. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

--- 21 unchanged lines hidden (view full) ---

31 BIGNUM *g;
32 BIGNUM *p;
33};
34
35DH *choose_dh(int, int, int);
36DH *dh_new_group_asc(const char *, const char *);
37DH *dh_new_group(BIGNUM *, BIGNUM *);
38DH *dh_new_group1(void);
2
3/*
4 * Copyright (c) 2000 Niels Provos. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

--- 21 unchanged lines hidden (view full) ---

31 BIGNUM *g;
32 BIGNUM *p;
33};
34
35DH *choose_dh(int, int, int);
36DH *dh_new_group_asc(const char *, const char *);
37DH *dh_new_group(BIGNUM *, BIGNUM *);
38DH *dh_new_group1(void);
39DH *dh_new_group14(void);
39
40void dh_gen_key(DH *, int);
41int dh_pub_is_valid(DH *, BIGNUM *);
42
43int dh_estimate(int);
44
45#define DH_GRP_MIN 1024
46#define DH_GRP_MAX 8192
47
48#endif
40
41void dh_gen_key(DH *, int);
42int dh_pub_is_valid(DH *, BIGNUM *);
43
44int dh_estimate(int);
45
46#define DH_GRP_MIN 1024
47#define DH_GRP_MAX 8192
48
49#endif