Skip to content

IKE Parameters

Lucas Hennessy edited this page Mar 29, 2021 · 6 revisions

IKE Supported Algorithms and Methods

In RFCs and open source implementations, various algorithms and methods are given a code. Here are how they relate:

IKEv1 Encryption Algorithm Codes

Code Algorithm
1 DES
2 IDEA
3 Blowfish
4 RC5
5 3DES
6 CAST
7 AES
8 Camellia
65001 Mars
65002 RC6
65004 Serpent
65005 Twofish

IKEv2 Encryption Algorithm Codes

Code Algorithm
1 DES_IV64
2 DES
3 3DES
4 RC5
5 IDEA
6 CAST
7 Blowfish
8 3IDEA
9 DES_IV32
12 AES_CBC
13 AES_CTR
14 AES_CCM_ICV8
15 AES_CCM_ICV12
16 AES_CCM_ICV16
18 AES_GCM_ICV8
19 AES_GCM_ICV12
20 AES_GCM_ICV16
23 Camellia_CBC
24 Camellia_CTR
25 Camellia_CCM-8iICV
26 Camellia_CCM_12ICV
27 Camellia _CCM_16ICV

IKEv1 Hash Algorithm Codes

Code Algorithm
1 MD5
2 SHA1
3 Tiger
4 SHA2-256
5 SHA2-384
6 SHA2-512

IKEv2 Hash Algorithm Codes

Code Algorithm
1 HMAC_MD5
2 HMAC_SHA1
3 HMAC_TIGER
4 AES128_XCBC
5 HMAC_SHA2_256
6 HMAC_SHA2_384
7 HMAC_SHA2_512
8 HMAC_AES128_CMAC

IKEv1/2 Authentication Method Codes

Code Method
1 PSK
2 DSS (DSA) signature
3 RSA signature
4 RSA encryption
5 RSA revised encryption
6 ElGamel encryption
7 ElGamel revised encryption
8 ECDSA signature
9 ECDSA_SHA256
10 ECDSA_SHA384
11 ECDSA_SHA512
128 Harkins' CRACK
64221 Hybrid_RSA signature
64222 HybridRespRSA signature
64223 Hybrid_DSS (DSA) signature
64224 HybridRespDSS (DSA) signature
65001 XAUTH_PSK
65002 XAUTHRespPreShared
65003 XAUTH_DSS signature
65004 XAUTHRespDSS signature
65005 XAUTH_RSA signature
65006 XAUTHRespRSA signature
65007 XAUTH_RSA encryption
65008 XAUTHRespRSA encryption
65009 XAUTH_RSA revised encryption
65010 XAUTHRespRSA revised encryption

IKEv1/2 Key Exchange Codes

Code Method
1 1:modp768
2 2:modp1024
3 3:ec2n155
4 4:ec2n185
5 5:modp1536
6 6:ec2n163
7 7:ec2n163
8 8:ec2n283
9 9:ec2n283
10 10:ec2n409
11 11:ec2n409
12 12:ec2n571
13 13:ec2n571
14 14:modp2048
15 15:modp3072
16 16:modp4096
17 17:modp6144
18 18:modp8192
19 19:ecp256
20 20:ecp384
21 21:ecp521
22 22:modp1024s160
23 23:modp2048s224
24 24:modp2048s256
25 25:ecp192
26 26:ecp224
27 27:brainpoolP224r1
28 28:brainpoolP256r1
29 29:brainpoolP384r1
30 30:brainpoolP512r1