17c478bd9Sstevel@tonic-gate /* 27c478bd9Sstevel@tonic-gate * Copyright (c) 2000 Markus Friedl. All rights reserved. 37c478bd9Sstevel@tonic-gate * 47c478bd9Sstevel@tonic-gate * Redistribution and use in source and binary forms, with or without 57c478bd9Sstevel@tonic-gate * modification, are permitted provided that the following conditions 67c478bd9Sstevel@tonic-gate * are met: 77c478bd9Sstevel@tonic-gate * 1. Redistributions of source code must retain the above copyright 87c478bd9Sstevel@tonic-gate * notice, this list of conditions and the following disclaimer. 97c478bd9Sstevel@tonic-gate * 2. Redistributions in binary form must reproduce the above copyright 107c478bd9Sstevel@tonic-gate * notice, this list of conditions and the following disclaimer in the 117c478bd9Sstevel@tonic-gate * documentation and/or other materials provided with the distribution. 127c478bd9Sstevel@tonic-gate * 137c478bd9Sstevel@tonic-gate * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 147c478bd9Sstevel@tonic-gate * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 157c478bd9Sstevel@tonic-gate * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 167c478bd9Sstevel@tonic-gate * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 177c478bd9Sstevel@tonic-gate * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 187c478bd9Sstevel@tonic-gate * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 197c478bd9Sstevel@tonic-gate * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 207c478bd9Sstevel@tonic-gate * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 217c478bd9Sstevel@tonic-gate * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 227c478bd9Sstevel@tonic-gate * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 237c478bd9Sstevel@tonic-gate */ 24*ee5b3c37Sjp161948 25*ee5b3c37Sjp161948 /* 26*ee5b3c37Sjp161948 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 27*ee5b3c37Sjp161948 * Use is subject to license terms. 28*ee5b3c37Sjp161948 */ 29*ee5b3c37Sjp161948 30*ee5b3c37Sjp161948 /* $OpenBSD: myproposal.h,v 1.14 2002/04/03 09:26:11 markus Exp $ */ 31*ee5b3c37Sjp161948 32*ee5b3c37Sjp161948 #ifndef _MYPROPOSAL_H 33*ee5b3c37Sjp161948 #define _MYPROPOSAL_H 34*ee5b3c37Sjp161948 35*ee5b3c37Sjp161948 #pragma ident "%Z%%M% %I% %E% SMI" 36*ee5b3c37Sjp161948 37*ee5b3c37Sjp161948 #ifdef __cplusplus 38*ee5b3c37Sjp161948 extern "C" { 39*ee5b3c37Sjp161948 #endif 40*ee5b3c37Sjp161948 41*ee5b3c37Sjp161948 42*ee5b3c37Sjp161948 #define KEX_DEFAULT_KEX "diffie-hellman-group-exchange-sha1," \ 43*ee5b3c37Sjp161948 "diffie-hellman-group1-sha1" 44*ee5b3c37Sjp161948 457c478bd9Sstevel@tonic-gate #define KEX_DEFAULT_PK_ALG "ssh-rsa,ssh-dss" 46*ee5b3c37Sjp161948 477c478bd9Sstevel@tonic-gate #define KEX_DEFAULT_ENCRYPT \ 48*ee5b3c37Sjp161948 "aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc," \ 49*ee5b3c37Sjp161948 "aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc" 50*ee5b3c37Sjp161948 517c478bd9Sstevel@tonic-gate #define KEX_DEFAULT_MAC \ 527c478bd9Sstevel@tonic-gate "hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96" 53*ee5b3c37Sjp161948 547c478bd9Sstevel@tonic-gate #define KEX_DEFAULT_COMP "none,zlib" 557c478bd9Sstevel@tonic-gate #define KEX_DEFAULT_LANG "" 567c478bd9Sstevel@tonic-gate 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gate static char *myproposal[PROPOSAL_MAX] = { 597c478bd9Sstevel@tonic-gate KEX_DEFAULT_KEX, 607c478bd9Sstevel@tonic-gate KEX_DEFAULT_PK_ALG, 617c478bd9Sstevel@tonic-gate KEX_DEFAULT_ENCRYPT, 627c478bd9Sstevel@tonic-gate KEX_DEFAULT_ENCRYPT, 637c478bd9Sstevel@tonic-gate KEX_DEFAULT_MAC, 647c478bd9Sstevel@tonic-gate KEX_DEFAULT_MAC, 657c478bd9Sstevel@tonic-gate KEX_DEFAULT_COMP, 667c478bd9Sstevel@tonic-gate KEX_DEFAULT_COMP, 677c478bd9Sstevel@tonic-gate KEX_DEFAULT_LANG, 687c478bd9Sstevel@tonic-gate KEX_DEFAULT_LANG 697c478bd9Sstevel@tonic-gate }; 707c478bd9Sstevel@tonic-gate 717c478bd9Sstevel@tonic-gate #ifdef __cplusplus 727c478bd9Sstevel@tonic-gate } 737c478bd9Sstevel@tonic-gate #endif 747c478bd9Sstevel@tonic-gate 757c478bd9Sstevel@tonic-gate #endif /* _MYPROPOSAL_H */ 76