xref: /titanic_41/usr/src/cmd/cmd-inet/etc/ipsecalgs (revision 948f2876ce2a3010558f4f6937e16086ebcd36f2)
1#
2#ident	"%Z%%M%	%I%	%E% SMI"
3#
4# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
5# Use is subject to license terms.
6#
7# CDDL HEADER START
8#
9# The contents of this file are subject to the terms of the
10# Common Development and Distribution License (the "License").
11# You may not use this file except in compliance with the License.
12#
13# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14# or http://www.opensolaris.org/os/licensing.
15# See the License for the specific language governing permissions
16# and limitations under the License.
17#
18# When distributing Covered Code, include this CDDL HEADER in each
19# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20# If applicable, add the following below this CDDL HEADER, with the
21# fields enclosed by brackets "[]" replaced with your own identifying
22# information: Portions Copyright [yyyy] [name of copyright owner]
23#
24# CDDL HEADER END
25#
26# DO NOT EDIT OR PARSE THIS FILE!
27#
28# Use the ipsecalgs(1m) command to change the contents of this file.
29
30# PROTO|protocol-id|protocol-name|exec-mode
31##  NOTE:  Some protocol numbers are well-known and defined in <netdb.h>
32
33PROTO|2|PROTO_IPSEC_AH|sync
34PROTO|3|PROTO_IPSEC_ESP|sync
35
36# ALG|protocol-id|alg-id|name,name,...|ef-id| \
37#	{default/}{key,key..}or{key-key,inc}|block_size or MAC-size
38
39ALG|2|0|none,any|-|0|0
40ALG|2|2|hmac-md5,md5|CKM_MD5_HMAC_GENERAL|128|12
41ALG|2|3|hmac-sha1,sha,sha1,sha-1,hmac-sha,hmac-sha-1|CKM_SHA_1_HMAC_GENERAL|160|12
42ALG|3|0|any|-|0|0
43ALG|3|2|des-cbc,des|CKM_DES_CBC|64|8
44ALG|3|3|3des-cbc,3des|CKM_DES3_CBC|192|8
45ALG|3|7|blowfish-cbc,blowfish|CKM_BLOWFISH_CBC|128/32-448,8|8
46ALG|3|11|null|-|0|0
47ALG|3|12|aes-cbc,aes|CKM_AES_CBC|128/128-256,64|16
48