8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / etc / ipsecalgs
bloba734e5ff132978eabc288a53d06a6412d8f5d508
3 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
4 # Use is subject to license terms.
6 # CDDL HEADER START
8 # The contents of this file are subject to the terms of the
9 # Common Development and Distribution License (the "License").
10 # You may not use this file except in compliance with the License.
12 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 # or http://www.opensolaris.org/os/licensing.
14 # See the License for the specific language governing permissions
15 # and limitations under the License.
17 # When distributing Covered Code, include this CDDL HEADER in each
18 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 # If applicable, add the following below this CDDL HEADER, with the
20 # fields enclosed by brackets "[]" replaced with your own identifying
21 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # CDDL HEADER END
25 # DO NOT EDIT OR PARSE THIS FILE!
27 # Use the ipsecalgs(1m) command to change the contents of this file.
28 # The algorithm descriptions contained in this file are synchronised to the
29 # kernel with ipsecalgs -s, the kernel validates the entries at this point.
31 # PROTO|protocol-id|protocol-name|exec-mode
32 ##  NOTE:  Some protocol numbers are well-known and defined in <netdb.h>
34 PROTO|2|PROTO_IPSEC_AH|sync
35 PROTO|3|PROTO_IPSEC_ESP|sync
37 # ALG|protocol-id|alg-id|name,name,...|ef-id| \
38 #       {default/}{key,key..}or{key-key,inc}|block_size or MAC-size|\
39 #       [parameter,parameter..]|[flags]
41 ## Note:   Parameters and flags only apply to certain algorithms.
43 ALG|2|0|none,any|-|0|0
44 ALG|2|2|hmac-md5,md5|CKM_MD5_HMAC_GENERAL|128|12
45 ALG|2|3|hmac-sha1,sha,sha1,sha-1,hmac-sha,hmac-sha-1|CKM_SHA_1_HMAC_GENERAL|160|12
46 ALG|2|5|hmac-sha256,sha256,sha-256,hmac-sha-256|CKM_SHA256_HMAC_GENERAL|256|16
47 ALG|2|6|hmac-sha384,sha384,sha-384,hmac-sha-384|CKM_SHA384_HMAC_GENERAL|384|24
48 ALG|2|7|hmac-sha512,sha512,sha-512,hmac-sha-512|CKM_SHA512_HMAC_GENERAL|512|32
49 ALG|3|0|any|-|0|0
50 ALG|3|2|des-cbc,des|CKM_DES_CBC|64|8
51 ALG|3|3|3des-cbc,3des|CKM_DES3_CBC|192|8
52 ALG|3|7|blowfish-cbc,blowfish|CKM_BLOWFISH_CBC|128|8
53 ALG|3|11|null|-|0|0
54 ALG|3|12|aes-cbc,aes|CKM_AES_CBC|128/128-256,64|16
55 ALG|3|14|aes-ccm8|CKM_AES_CCM|128/128-256,64|16|8,8,3|15
56 ALG|3|15|aes-ccm12|CKM_AES_CCM|128/128-256,64|16|8,12,3|15
57 ALG|3|16|aes-ccm,aes-ccm16|CKM_AES_CCM|128/128-256,64|16|8,16,3|15
58 ALG|3|18|aes-gcm8|CKM_AES_GCM|128/128-256,64|16|8,8,4|23
59 ALG|3|19|aes-gcm12|CKM_AES_GCM|128/128-256,64|16|8,12,4|23
60 ALG|3|20|aes-gcm,aes-gcm16|CKM_AES_GCM|128/128-256,64|16|8,16,4|23