xref: /illumos-gate/usr/src/cmd/cmd-inet/etc/ipsecalgs (revision d29f5a711240f866521445b1656d114da090335e)
1#
2#ident	"%Z%%M%	%I%	%E% SMI"
3#
4# Copyright 2008 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|2|5|hmac-sha256,sha256,sha-256,hmac-sha-256|CKM_SHA256_HMAC_GENERAL|256|16
43ALG|2|6|hmac-sha384,sha384,sha-384,hmac-sha-384|CKM_SHA384_HMAC_GENERAL|384|24
44ALG|2|7|hmac-sha512,sha512,sha-512,hmac-sha-512|CKM_SHA512_HMAC_GENERAL|512|32
45ALG|3|0|any|-|0|0
46ALG|3|2|des-cbc,des|CKM_DES_CBC|64|8
47ALG|3|3|3des-cbc,3des|CKM_DES3_CBC|192|8
48ALG|3|7|blowfish-cbc,blowfish|CKM_BLOWFISH_CBC|128/32-448,8|8
49ALG|3|11|null|-|0|0
50ALG|3|12|aes-cbc,aes|CKM_AES_CBC|128/128-256,64|16
51