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 #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\005" }; 34 static char *MODULUS = "E65DA65D2AD45FB965E350E19A2009B1" 35 "B90161708B5AE4CCC399D320968D86E6" 36 "3B92186C46EF0A1D6A4FABD91EE13102" 37 "163C7139E1F148AB6AF2DC8BE400087D" 38 "65E16E007BEC44E4F46621730165C751" 39 "8DDC6255AE10F52FC42270F7CF1412E0" 40 "62687B40387455E51D995A8360DB3DC8" 41 "5002F72379D3537E97D2B1F4A71FC90F"; 42 43 static int ROOT = 2; 44 static int KEYLEN = 1024; 45 static int ALGTYPE = 0; 46 #define HEX_KEY_BYTES 256 47 48 #include "../dh_common/dh_template.c" 49 50 #include "../dh_common/dh_nsl_tmpl.c" 51