xref: /illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh640/dh640.c (revision 89b2a9fbeabf42fa54594df0e5927bcc50a07cc9)
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  *	dh640.c
24  *
25  *	Copyright (c) 1997, by Sun Microsystems, Inc.
26  *	All rights reserved.
27  */
28 
29 #pragma ident	"%Z%%M%	%I%	%E% SMI"
30 
31 #include "dh_gssapi.h"
32 
33 static gss_OID_desc OID = {9, "\053\006\004\001\052\002\032\002\004" };
34 static char *MODULUS = 	"D63C7139E1F148AB6AF2DC8BE400087D"
35 			"65E16E007BEC44E4F46621730165C751"
36 			"8DDC6255AE10F52FC42270F7CF1412E0"
37 			"62687B40387455E51D995A8360DB3DC8"
38 			"5002F72379D3537E97D2B1F4A71FC5DB";
39 
40 static int ROOT = 2;
41 static int KEYLEN = 640;
42 static int ALGTYPE = 0;
43 #define	HEX_KEY_BYTES  160
44 
45 #include "../dh_common/dh_template.c"
46 
47 #include "../dh_common/dh_nsl_tmpl.c"
48