OpenSolaris_b135/lib/gss_mechs/mech_dh/dh1024/dh1024.c

/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License, Version 1.0 only
 * (the "License").  You may not use this file except in compliance
 * with the License.
 *
 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 * or http://www.opensolaris.org/os/licensing.
 * See the License for the specific language governing permissions
 * and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 * If applicable, add the following below this CDDL HEADER, with the
 * fields enclosed by brackets "[]" replaced with your own identifying
 * information: Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 */
/*
 *	dh1024.c
 *
 *	Copyright (c) 1997, by Sun Microsystems, Inc.
 *	All rights reserved.
 */

#pragma ident	"%Z%%M%	%I%	%E% SMI"

#include "dh_gssapi.h"

static gss_OID_desc OID = {9, "\053\006\004\001\052\002\032\002\005" };
static char *MODULUS = 	"E65DA65D2AD45FB965E350E19A2009B1"
			"B90161708B5AE4CCC399D320968D86E6"
			"3B92186C46EF0A1D6A4FABD91EE13102"
			"163C7139E1F148AB6AF2DC8BE400087D"
			"65E16E007BEC44E4F46621730165C751"
			"8DDC6255AE10F52FC42270F7CF1412E0"
			"62687B40387455E51D995A8360DB3DC8"
			"5002F72379D3537E97D2B1F4A71FC90F";

static int ROOT = 2;
static int KEYLEN = 1024;
static int ALGTYPE = 0;
#define	HEX_KEY_BYTES 256

#include "../dh_common/dh_template.c"

#include "../dh_common/dh_nsl_tmpl.c"