xref: /illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh1024/dh1024.c (revision 0fb96ba1f1ce26ff8b286f8f928769a6afcb00a6)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  *	dh1024.c
24  *
25  *	Copyright (c) 1997, by Sun Microsystems, Inc.
26  *	All rights reserved.
27  */
28 
29 #include "dh_gssapi.h"
30 
31 static gss_OID_desc OID = {9, "\053\006\004\001\052\002\032\002\005" };
32 static char *MODULUS = 	"E65DA65D2AD45FB965E350E19A2009B1"
33 			"B90161708B5AE4CCC399D320968D86E6"
34 			"3B92186C46EF0A1D6A4FABD91EE13102"
35 			"163C7139E1F148AB6AF2DC8BE400087D"
36 			"65E16E007BEC44E4F46621730165C751"
37 			"8DDC6255AE10F52FC42270F7CF1412E0"
38 			"62687B40387455E51D995A8360DB3DC8"
39 			"5002F72379D3537E97D2B1F4A71FC90F";
40 
41 static int ROOT = 2;
42 static int KEYLEN = 1024;
43 static int ALGTYPE = 0;
44 #define	HEX_KEY_BYTES 256
45 
46 #include "../dh_common/dh_template.c"
47 
48 #include "../dh_common/dh_nsl_tmpl.c"
49