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